mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
19185: wrong context in delete-whole-word-match
This commit is contained in:
parent
a190add859
commit
df3c2c64a5
@ -1,5 +1,8 @@
|
|||||||
2003-10-13 Peter Stephenson <pws@csr.com>
|
2003-10-13 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 19185: Functions/Zle/delete-whole-word-match: Bart spotted
|
||||||
|
context was wrong.
|
||||||
|
|
||||||
* unposted: Completion/Unix/Command/_perforce: make it
|
* unposted: Completion/Unix/Command/_perforce: make it
|
||||||
easier to use add-on commands with _perforce.
|
easier to use add-on commands with _perforce.
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
setopt extendedglob
|
setopt extendedglob
|
||||||
|
|
||||||
local curcontext=:zle:delete-whole-word
|
local curcontext=:zle:$WIDGET
|
||||||
local -a matched_words
|
local -a matched_words
|
||||||
# Start and end of range of characters to remove.
|
# Start and end of range of characters to remove.
|
||||||
integer pos1 pos2
|
integer pos1 pos2
|
||||||
|
Loading…
Reference in New Issue
Block a user