comparison src/edit.c @ 298:f9de3e679a04

updated for version 7.0078
author vimboss
date Wed, 01 Jun 2005 21:56:33 +0000
parents a7e59720a155
children 006e9c8a6a8a
comparison
equal deleted inserted replaced
297:9a1c2a8186b7 298:f9de3e679a04
196 #endif 196 #endif
197 197
198 static int old_indent = 0; /* for ^^D command in insert mode */ 198 static int old_indent = 0; /* for ^^D command in insert mode */
199 199
200 #ifdef FEAT_RIGHTLEFT 200 #ifdef FEAT_RIGHTLEFT
201 int revins_on; /* reverse insert mode on */ 201 static int revins_on; /* reverse insert mode on */
202 int revins_chars; /* how much to skip after edit */ 202 static int revins_chars; /* how much to skip after edit */
203 int revins_legal; /* was the last char 'legal'? */ 203 static int revins_legal; /* was the last char 'legal'? */
204 int revins_scol; /* start column of revins session */ 204 static int revins_scol; /* start column of revins session */
205 #endif 205 #endif
206 206
207 #if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC) 207 #if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC)
208 static short previous_script = smRoman; 208 static short previous_script = smRoman;
209 #endif 209 #endif
5430 * Replace_offset is normally 0, in which case replace_push will add a new 5430 * Replace_offset is normally 0, in which case replace_push will add a new
5431 * character at the end of the stack. If replace_offset is not 0, that many 5431 * character at the end of the stack. If replace_offset is not 0, that many
5432 * characters will be left on the stack above the newly inserted character. 5432 * characters will be left on the stack above the newly inserted character.
5433 */ 5433 */
5434 5434
5435 char_u *replace_stack = NULL; 5435 static char_u *replace_stack = NULL;
5436 long replace_stack_nr = 0; /* next entry in replace stack */ 5436 static long replace_stack_nr = 0; /* next entry in replace stack */
5437 long replace_stack_len = 0; /* max. number of entries */ 5437 static long replace_stack_len = 0; /* max. number of entries */
5438 5438
5439 void 5439 void
5440 replace_push(c) 5440 replace_push(c)
5441 int c; /* character that is replaced (NUL is none) */ 5441 int c; /* character that is replaced (NUL is none) */
5442 { 5442 {