search: make highlighting the standard, non-changeable behavior
Highlighting an occurrence is so much clearer than just putting the cursor on it. People seem to like it. So let's make this how nano behaves by default.master
parent
37717baeed
commit
76742cc193
|
@ -323,7 +323,7 @@ int findnextstr(const char *needle, bool whole_word_only, int modus,
|
|||
*match_len = found_len;
|
||||
|
||||
#ifndef NANO_TINY
|
||||
if (modus == JUSTFIND && ISSET(MARK_MATCH) && (!openfile->mark || openfile->softmark)) {
|
||||
if (modus == JUSTFIND && (!openfile->mark || openfile->softmark)) {
|
||||
spotlighted = TRUE;
|
||||
light_from_col = xplustabs();
|
||||
light_to_col = wideness(line->data, found_x + found_len);
|
||||
|
|
Loading…
Reference in New Issue