diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2015-12-16 06:51:54 +0100 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2015-12-19 13:21:12 +0100 |
commit | c3ea3ffa730037714fd1bb23b6fc1174b379368f (patch) | |
tree | fb2c46c01057bbdcbe02b8ce1254416bd5399248 /Doc/Zsh/zle.yo | |
parent | 1f2bdc2aa27141eb41f7b0765d79020b6af8bbd0 (diff) | |
download | zsh-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.yo | 5 |
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 |