zsh-workers
 help / color / mirror / code / Atom feed
* PATCH add zle_highlight to variables index
@ 2015-07-24 23:59 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2015-07-24 23:59 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-24 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 23:59 PATCH add zle_highlight to variables index Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).