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
27 lines
783 B
Text
27 lines
783 B
Text
#Geany
|
|
color-link comment "red"
|
|
color-link constant "default"
|
|
color-link constant.string "bold yellow"
|
|
color-link identifier "default"
|
|
color-link preproc "cyan"
|
|
color-link special "blue"
|
|
color-link statement "blue"
|
|
color-link symbol "default"
|
|
color-link symbol.tag "bold blue"
|
|
color-link type "blue"
|
|
color-link type.extended "default"
|
|
color-link error "red"
|
|
color-link todo "bold cyan"
|
|
color-link hlsearch "black,brightcyan"
|
|
color-link indent-char "bold black"
|
|
color-link line-number ""
|
|
color-link current-line-number ""
|
|
color-link statusline "black,white"
|
|
color-link tabbar "black,white"
|
|
color-link color-column "bold geren"
|
|
color-link diff-added "green"
|
|
color-link diff-modified "yellow"
|
|
color-link diff-deleted "red"
|
|
color-link gutter-error ",red"
|
|
color-link gutter-warning "red"
|