comparison src/globals.h @ 14515:3648e74dd523 v8.1.0271

patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :v commit https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 11 16:40:43 2018 +0200 patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :v Problem: 'incsearch' doesn't work for :s, :g or :v. Solution: Also use 'incsearch' for other commands that use a pattern.
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Aug 2018 16:45:05 +0200
parents 0a69e6e708f9
children 4caa51067cb8
comparison
equal deleted inserted replaced
14514:7ac24a4dc6ea 14515:3648e74dd523
343 * When highlight_match is TRUE, highlight a match, starting at the cursor 343 * When highlight_match is TRUE, highlight a match, starting at the cursor
344 * position. Search_match_lines is the number of lines after the match (0 for 344 * position. Search_match_lines is the number of lines after the match (0 for
345 * a match within one line), search_match_endcol the column number of the 345 * a match within one line), search_match_endcol the column number of the
346 * character just after the match in the last line. 346 * character just after the match in the last line.
347 */ 347 */
348 EXTERN int highlight_match INIT(= FALSE); /* show search match pos */ 348 EXTERN int highlight_match INIT(= FALSE); // show search match pos
349 EXTERN linenr_T search_match_lines; /* lines of of matched string */ 349 EXTERN linenr_T search_match_lines; // lines of of matched string
350 EXTERN colnr_T search_match_endcol; /* col nr of match end */ 350 EXTERN colnr_T search_match_endcol; // col nr of match end
351 #ifdef FEAT_SEARCH_EXTRA
352 EXTERN linenr_T search_first_line INIT(= 0); // for :{FIRST},{last}s/pat
353 EXTERN linenr_T search_last_line INIT(= MAXLNUM); // for :{first},{LAST}s/pat
354 #endif
351 355
352 EXTERN int no_smartcase INIT(= FALSE); /* don't use 'smartcase' once */ 356 EXTERN int no_smartcase INIT(= FALSE); /* don't use 'smartcase' once */
353 357
354 EXTERN int need_check_timestamps INIT(= FALSE); /* need to check file 358 EXTERN int need_check_timestamps INIT(= FALSE); /* need to check file
355 timestamps asap */ 359 timestamps asap */