diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/vi.c b/editors/vi.c index d8492fe74..ce10a60a4 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -1863,7 +1863,7 @@ static char *text_hole_make(char * p, int size) // at "p", make a 'size' byte ho | |||
1863 | } | 1863 | } |
1864 | 1864 | ||
1865 | // close a hole in text[] | 1865 | // close a hole in text[] |
1866 | static char *text_hole_delete(char * p, char * q) // delete "p" thru "q", inclusive | 1866 | static char *text_hole_delete(char * p, char * q) // delete "p" through "q", inclusive |
1867 | { | 1867 | { |
1868 | char *src, *dest; | 1868 | char *src, *dest; |
1869 | int cnt, hole_size; | 1869 | int cnt, hole_size; |
@@ -3245,7 +3245,7 @@ static void do_cmd(char c) | |||
3245 | // | 3245 | // |
3246 | // dont separate these two commands. 'f' depends on ';' | 3246 | // dont separate these two commands. 'f' depends on ';' |
3247 | // | 3247 | // |
3248 | //**** fall thru to ... ';' | 3248 | //**** fall through to ... ';' |
3249 | case ';': // ;- look at rest of line for last forward char | 3249 | case ';': // ;- look at rest of line for last forward char |
3250 | if (cmdcnt-- > 1) { | 3250 | if (cmdcnt-- > 1) { |
3251 | do_cmd(';'); | 3251 | do_cmd(';'); |
@@ -3456,7 +3456,7 @@ static void do_cmd(char c) | |||
3456 | break; | 3456 | break; |
3457 | case 'A': // A- append at e-o-l | 3457 | case 'A': // A- append at e-o-l |
3458 | dot_end(); // go to e-o-l | 3458 | dot_end(); // go to e-o-l |
3459 | //**** fall thru to ... 'a' | 3459 | //**** fall through to ... 'a' |
3460 | case 'a': // a- append after current char | 3460 | case 'a': // a- append after current char |
3461 | if (*dot != '\n') | 3461 | if (*dot != '\n') |
3462 | dot++; | 3462 | dot++; |
@@ -3511,7 +3511,7 @@ static void do_cmd(char c) | |||
3511 | case 'I': // I- insert before first non-blank | 3511 | case 'I': // I- insert before first non-blank |
3512 | dot_begin(); // 0 | 3512 | dot_begin(); // 0 |
3513 | dot_skip_over_ws(); | 3513 | dot_skip_over_ws(); |
3514 | //**** fall thru to ... 'i' | 3514 | //**** fall through to ... 'i' |
3515 | case 'i': // i- insert before current char | 3515 | case 'i': // i- insert before current char |
3516 | case VI_K_INSERT: // Cursor Key Insert | 3516 | case VI_K_INSERT: // Cursor Key Insert |
3517 | dc_i: | 3517 | dc_i: |