Mercurial > vim
comparison src/edit.c @ 1300:bacdeee78827 v7.1.014
updated for version 7.1-014
author | vimboss |
---|---|
date | Thu, 28 Jun 2007 10:49:22 +0000 |
parents | aea597af5b4e |
children | 9fb5bb1ea79b |
comparison
equal
deleted
inserted
replaced
1299:82add1e7c154 | 1300:bacdeee78827 |
---|---|
7213 if (try_match && keytyped == ':') | 7213 if (try_match && keytyped == ':') |
7214 { | 7214 { |
7215 p = ml_get_curline(); | 7215 p = ml_get_curline(); |
7216 if (cin_iscase(p) || cin_isscopedecl(p) || cin_islabel(30)) | 7216 if (cin_iscase(p) || cin_isscopedecl(p) || cin_islabel(30)) |
7217 return TRUE; | 7217 return TRUE; |
7218 /* Need to get the line again after cin_islabel(). */ | |
7219 p = ml_get_curline(); | |
7218 if (curwin->w_cursor.col > 2 | 7220 if (curwin->w_cursor.col > 2 |
7219 && p[curwin->w_cursor.col - 1] == ':' | 7221 && p[curwin->w_cursor.col - 1] == ':' |
7220 && p[curwin->w_cursor.col - 2] == ':') | 7222 && p[curwin->w_cursor.col - 2] == ':') |
7221 { | 7223 { |
7222 p[curwin->w_cursor.col - 1] = ' '; | 7224 p[curwin->w_cursor.col - 1] = ' '; |