Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH add zle_highlight to variables index



As an aside I noticed that for several variables there is more than one
index entry with the exact same key text, e.g. vindex(histchars, use of)
appears more than once.  This means that one of the index entries gets
tagged with <1> and some versions of the info browser won't find that
entry in an index search.  Is it worth trying to eliminate duplicate
index keys?


diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index e209162..a406788 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1659,6 +1659,12 @@ enable bracketed paste when ZLE is active and disable it at other times.
 Unsetting the parameter has the effect of ensuring that bracketed paste
 remains disabled.
 )
+vindex(zle_highlight)
+item(tt(zle_highlight))(
+An array describing contexts in which ZLE should highlight the input text.
+See ifzman(em(Character Highlighting) in zmanref(zshzle))\
+ifnzman(noderef(Character Highlighting)).
+)
 vindex(ZLE_LINE_ABORTED)
 item(tt(ZLE_LINE_ABORTED))(
 This parameter is set by the line editor when an error occurs.  It
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index ef73f4d..3cdb4fe 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -29,6 +29,7 @@ line editor. See
 ifzman(em(Parameters Used By The Shell) in zmanref(zshparam))\
 ifnzman(noderef(Parameters Used By The Shell)).
 
+vindex(zle_highlight, use of)
 The parameter tt(zle_highlight) is also used by the line editor; see
 ifzman(em(Character Highlighting) below)\
 ifnzman(noderef(Character Highlighting)).  Highlighting
@@ -2457,6 +2458,7 @@ enditem()
 texinode(Character Highlighting)()(Zle Widgets)(Zsh Line Editor)
 sect(Character Highlighting)
 
+vindex(zle_highlight, setting)
 The line editor has the ability to highlight characters or regions
 of the line that have a particular significance.  This is controlled
 by the array parameter tt(zle_highlight), if it has been set by the user.



Messages sorted by: Reverse Date, Date, Thread, Author