hilite_status string comparison
Simplify the string comparison done when checking 'textmatch' rules to decide whether to highlight something. Fix the menu titles when setting up a textmatch via 'O': the title for color referred to attribute and the one for attribute used the default. The two tiles are set up in advance; the one for color was set correctly but then the one for attribute was written into the wrong buffer. When using 'O' to manipulate hilite_status rules, if there are any when you're done and the 'statushilites' option (iflags.hilite_delta) is 0, give a message reminding that it needs to be non-zero for highlighting to be activated.
This commit is contained in:
@@ -24,6 +24,12 @@ config file error handling routines were calling xx_wait_synch early
|
||||
status_finish() in botl.c would unconditionally invoke the window port's
|
||||
win_status_finish() routine which was problematic if the windowport
|
||||
wasn't initialized yet
|
||||
using 'O' to set up a hilite_status rule for string comparison, the menu for
|
||||
color was titled "choose attribute for when <foo> is 'bar'" and the
|
||||
one prompting for attribute used the default "pick an attribute"
|
||||
when finishing using 'O' to examine or set hilite_status rules, if the
|
||||
'statushilites' option is 0 and there is at least one rule, give a
|
||||
reminder about setting it to non-zero to activate highlighting
|
||||
|
||||
|
||||
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user