From 91a10708b25b78d36549de0177e2330670fe163d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 26 Apr 2008 22:52:50 +0000 Subject: 24822: highlighting of isearch matches unposted: not in NEWS that COMBINING_CHARS is not on by default --- Doc/Zsh/zle.yo | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 04d195bb8..888c87ea1 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -2064,6 +2064,10 @@ The contexts available for highlighting are the following: startitem() cindex(region, highlighting) cindex(highlighting, region) +item(tt(isearch))( +When one of the incremental history search widgets is active, the +area of the command line matched by the search string or pattern. +) item(tt(region))( The region between the cursor (point) and the mark as set with tt(set-mark-command). The region is only highlighted if it is active, @@ -2102,7 +2106,7 @@ mode. The actual effect is specific to the terminal; on many terminals it is inverse video. On some such terminals, where the cursor does not blink it appears with standout mode negated, making it less than clear where the cursor actually is. On such terminals one of the other effects -may be preferable for highlighting the region. +may be preferable for highlighting the region and matched search string. ) item(tt(underline))( The characters in the given context are shown underlined. Some @@ -2133,7 +2137,8 @@ enditem() If tt(zle_highlight) is not set or no value applies to a particular context, the defaults applied are equivalent to -example(zle_highlight=LPAR()region:standout special:standout+RPAR()) +example(zle_highlight=LPAR()region:standout special:standout +isearch:underline+RPAR()) i.e. both the region and special characters are shown in standout mode. -- cgit 1.4.1