comparison src/structs.h @ 28399:d395fadbaf67 v8.2.4724

patch 8.2.4724: current instance of last search pattern not easily spotted Commit: https://github.com/vim/vim/commit/a43993897aa372159f682df37562f159994dc85c Author: LemonBoy <thatlemon@gmail.com> Date: Sat Apr 9 21:04:08 2022 +0100 patch 8.2.4724: current instance of last search pattern not easily spotted Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes https://github.com/vim/vim/issues/10133)
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Apr 2022 22:15:03 +0200
parents e466fdbe0699
children 1170b35651a5
comparison
equal deleted inserted replaced
28398:8b474e8eff92 28399:d395fadbaf67
3327 { 3327 {
3328 regmmatch_T rm; // points to the regexp program; contains last 3328 regmmatch_T rm; // points to the regexp program; contains last
3329 // found match (may continue in next line) 3329 // found match (may continue in next line)
3330 buf_T *buf; // the buffer to search for a match 3330 buf_T *buf; // the buffer to search for a match
3331 linenr_T lnum; // the line to search for a match 3331 linenr_T lnum; // the line to search for a match
3332 linenr_T lines; // number of lines starting from lnum
3332 int attr; // attributes to be used for a match 3333 int attr; // attributes to be used for a match
3333 int attr_cur; // attributes currently active in win_line() 3334 int attr_cur; // attributes currently active in win_line()
3334 linenr_T first_lnum; // first lnum to search for multi-line pat 3335 linenr_T first_lnum; // first lnum to search for multi-line pat
3335 colnr_T startcol; // in win_line() points to char where HL starts 3336 colnr_T startcol; // in win_line() points to char where HL starts
3336 colnr_T endcol; // in win_line() points to char where HL ends 3337 colnr_T endcol; // in win_line() points to char where HL ends