ffbb257434
* Support for highlighting all search matches (hlsearch) hlsearch is implemented efficiently using the buffer's line array, somewhat similarly to the syntax highlighting. Unlike the syntax highlighter which highlights the entire file, hlsearch searches for matches for the displayed lines only. Matches are searched when the given line is displayed first time or after it was modified. Otherwise the previously found matches are used. * Add UnhighlightSearch action and add it to the list of actions triggered by Esc key by default. * Add comment explaining the purpose of search map * Add hlsearch colors to colorschemes Mostly just copied from the corresponding original (mostly vim) colorschemes. * Highlight matches during/after replace as well As a side effect it also changes the last search value, i.e. affects FindNext and FindPrevious, but it's probably fine. In vim it works the same way. * Improve hlsearch option description
29 lines
896 B
Text
29 lines
896 B
Text
color-link default "241,231"
|
|
color-link comment "246,231"
|
|
color-link constant "130,231"
|
|
color-link constant.string "136,231"
|
|
color-link constant.number "131,231"
|
|
color-link identifier "133,231"
|
|
color-link statement "32,231"
|
|
color-link symbol "32,231"
|
|
color-link preproc "28,231"
|
|
color-link type "61,231"
|
|
color-link special "167,231"
|
|
color-link error "231, 160"
|
|
color-link underlined "underline 241,231"
|
|
color-link todo "246,231"
|
|
color-link hlsearch "231,136"
|
|
color-link statusline "241,254"
|
|
color-link tabbar "241,254"
|
|
color-link diff-added "34"
|
|
color-link diff-modified "214"
|
|
color-link diff-deleted "160"
|
|
color-link gutter-error "197,231"
|
|
color-link gutter-warning "134,231"
|
|
color-link line-number "246,254"
|
|
color-link cursor-line "254"
|
|
color-link color-column "254"
|
|
#No extended types (bool in C, &c.) and plain brackets
|
|
color-link type.extended "241,231"
|
|
color-link symbol.brackets "241,231"
|