about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-12-16 06:51:54 +0100
committerMikael Magnusson <mikachu@gmail.com>2015-12-19 13:21:12 +0100
commitc3ea3ffa730037714fd1bb23b6fc1174b379368f (patch)
treefb2c46c01057bbdcbe02b8ce1254416bd5399248 /Doc/Zsh/zle.yo
parent1f2bdc2aa27141eb41f7b0765d79020b6af8bbd0 (diff)
downloadzsh-c3ea3ffa730037714fd1bb23b6fc1174b379368f.tar.gz
zsh-c3ea3ffa730037714fd1bb23b6fc1174b379368f.tar.xz
zsh-c3ea3ffa730037714fd1bb23b6fc1174b379368f.zip
36650: Add zle-line-pre-redraw hook for highlighting
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 7047b43d9..9c4623247 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -1087,6 +1087,11 @@ widget:
 example(zle-isearch-exit+LPAR()RPAR() { zle -M ""; }
 zle -N zle-isearch-exit)
 )
+tindex(zle-line-pre-redraw)
+item(tt(zle-line-pre-redraw))(
+Executed whenever the input line is about to be redrawn, providing an
+opportunity to update the region_highlight array.
+)
 tindex(zle-line-init)
 item(tt(zle-line-init))(
 Executed every time the line editor is started to read a new line