mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
22804: Mikael Magnusson: allow zero-length narrow-to-region range
This commit is contained in:
parent
0fbdf5741f
commit
03027f0f5f
3 changed files with 11 additions and 5 deletions
|
|
@ -1,3 +1,10 @@
|
||||||
|
2006-10-02 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* unposted: INSTALL: correct opening remarks.
|
||||||
|
|
||||||
|
* 22804: Mikael Magnusson: Functions/Zle/narrow-to-region:
|
||||||
|
allow zero-length ranges.
|
||||||
|
|
||||||
2006-10-01 Clint Adams <clint@zsh.org>
|
2006-10-01 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* 22803: Roger Leigh: Completion/Debian/Command/_dchroot,
|
* 22803: Roger Leigh: Completion/Debian/Command/_dchroot,
|
||||||
|
|
|
||||||
|
|
@ -68,9 +68,7 @@ if [[ -n $_ntr_save || -z $_ntr_restore ]]; then
|
||||||
_ntr_end=$CURSOR
|
_ntr_end=$CURSOR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( _ntr_start == _ntr_end )); then
|
if (( _ntr_start > _ntr_end )); then
|
||||||
return 1
|
|
||||||
elif (( _ntr_start > _ntr_end )); then
|
|
||||||
_ntr_swap=_ntr_start
|
_ntr_swap=_ntr_start
|
||||||
_ntr_start=_ntr_end
|
_ntr_start=_ntr_end
|
||||||
_ntr_end=_ntr_swap
|
_ntr_end=_ntr_swap
|
||||||
|
|
|
||||||
5
INSTALL
5
INSTALL
|
|
@ -2,9 +2,10 @@
|
||||||
INSTALLING ZSH
|
INSTALLING ZSH
|
||||||
++++++++++++++
|
++++++++++++++
|
||||||
|
|
||||||
This file is divided into two parts: making and installing the shell, and
|
This file is divided into two parts: making and installing the shell, a
|
||||||
|
note on the script run to set up the environment for new users, and
|
||||||
a description of various additional configuration options. You should
|
a description of various additional configuration options. You should
|
||||||
have a look at the items in the second part before following the
|
have a look at the items in the second and third parts before following the
|
||||||
instructions in the first.
|
instructions in the first.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue