mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
38145: ZLE parameters for isearch and completion suffixes
This commit is contained in:
parent
ee2f0dbed1
commit
cbc44bd64a
4 changed files with 121 additions and 0 deletions
|
@ -835,6 +835,19 @@ which always gives the number of the history line being added to the main
|
|||
shell's history. tt(HISTNO) refers to the line being retrieved within
|
||||
zle.
|
||||
)
|
||||
vindex(ISEARCH_ACTIVE)
|
||||
vindex(ISEARCH_START)
|
||||
vindex(ISEARCH_END)
|
||||
xitem(tt(ISEARCH_ACTIVE) (integer))
|
||||
xitem(tt(ISEARCH_START) (integer))
|
||||
item(tt(ISEARCH_END) (integer))(
|
||||
tt(ISEARCH_ACTIVE) indicates whether an incremental search minibuffer
|
||||
is active. tt(ISEARCH_START) and tt(ISEARCH_END) give the location of
|
||||
the matched pattern and are in the same units as tt(CURSOR). They are
|
||||
only valid for reading when tt(ISEARCH_ACTIVE) is non-zero.
|
||||
|
||||
All parameters are read-only.
|
||||
)
|
||||
vindex(KEYMAP)
|
||||
item(tt(KEYMAP) (scalar))(
|
||||
The name of the currently selected keymap; read-only.
|
||||
|
@ -977,6 +990,19 @@ and tt(zle_highlight); see
|
|||
ifzman(the section CHARACTER HIGHLIGHTING below)\
|
||||
ifnzman(noderef(Character Highlighting)) for details.
|
||||
)
|
||||
vindex(SUFFIX_ACTIVE)
|
||||
vindex(SUFFIX_START)
|
||||
vindex(SUFFIX_END)
|
||||
xitem(tt(SUFFIX_ACTIVE) (integer))
|
||||
xitem(tt(SUFFIX_START) (integer))
|
||||
item(tt(SUFFIX_END) (integer))(
|
||||
tt(SUFFIX_ACTIVE) indicates whether an auto-removable completion suffix
|
||||
is currently active. tt(SUFFIX_START) and tt(SUFFIX_END) give the
|
||||
location of the suffix and are in the same units as tt(CURSOR). They are
|
||||
only valid for reading when tt(SUFFIX_ACTIVE) is non-zero.
|
||||
|
||||
All parameters are read-only.
|
||||
)
|
||||
vindex(UNDO_CHANGE_NO)
|
||||
item(tt(UNDO_CHANGE_NO) (integer))(
|
||||
A number representing the state of the undo history. The only use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue