diff options
author | Oliver Kiddle <opk@zsh.org> | 2016-07-17 12:09:24 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-07-17 12:09:24 +0200 |
commit | c32bb6a11c460faeaa9fafdb7b1f9cf3d6d10325 (patch) | |
tree | 30dc3fbf333e7aa0ec21c327b264b94f32b6d9e6 /Doc/Zsh/zle.yo | |
parent | 3e61af3ff47ff47391a39f88ad34e8e1904b527e (diff) | |
download | zsh-c32bb6a11c460faeaa9fafdb7b1f9cf3d6d10325.tar.gz zsh-c32bb6a11c460faeaa9fafdb7b1f9cf3d6d10325.tar.xz zsh-c32bb6a11c460faeaa9fafdb7b1f9cf3d6d10325.zip |
38845: reset region_active before entering zle
It was done on exit but before zle-line-finish. Also reword documentation on region to better cover vi mode.
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r-- | Doc/Zsh/zle.yo | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index f51eadac5..1642c5b15 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -2571,15 +2571,14 @@ When one of the incremental history search widgets is active, the area of the command line matched by the search string or pattern. ) item(tt(region))( -The region between the cursor (point) and the mark as set with -tt(set-mark-command). The region is only highlighted if it is active, -which is the case if tt(set-mark-command) or tt(exchange-point-and-mark) -has been called and the line has not been subsequently modified. The -region can be deactivated by calling tt(set-mark-command) with a -negative numeric argument, or reactivated by calling -tt(exchange-point-and-mark) with a zero numeric argument. Note -that whether or not the region is active has no effect on its -use within widgets, it simply determines whether it is highlighted. +The currently selected text. In emacs terminology, this is referred to as +the region and is bounded by the cursor (point) and the mark. The region +is only highlighted if it is active, which is the case after the mark +is modified with tt(set-mark-command) or tt(exchange-point-and-mark). +Note that whether or not the region is active has no effect on its +use within emacs style widgets, it simply determines whether it is +highlighted. In vi mode, the region corresponds to selected text in +visual mode. ) cindex(special characters, highlighting) cindex(highlighting, special characters) |