From c3ea3ffa730037714fd1bb23b6fc1174b379368f Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 16 Dec 2015 06:51:54 +0100 Subject: 36650: Add zle-line-pre-redraw hook for highlighting --- Doc/Zsh/zle.yo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Doc/Zsh/zle.yo') 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 -- cgit 1.4.1