Re: bug in vim-5.6.70
- On Sat, Apr 29, 2000 at 01:15:27PM +0200,
Bram Moolenaar <Bram@...> wrote:
>Well, I have tried selection=old,inclusive,exclusive and always there's
> Thomas Kohler wrote:
> > There's a bug in visual mode. Let's first have a look at the online
> > help (:help linewise):
> > [...]
> > Which motions are linewise, inclusive or exclusive is mentioned below. There
> > are however, two general exceptions:
> > 1. If the motion is exclusive and the end of the motion is in column 1, the
> > end of the motion is moved to the end of the previous line and the motion
> > becomes inclusive. Example: "}" ends at the first line after a paragraph,
> > but "V}" will not include that line.
> > Now, this does not work like explained here: V} in fact includes the
> > empty line!
> You're right. This looks like a bug. I'm not sure how the 'selection' option
> applies here. Probably the same text should be select whatever its value is.
> When 'selection' is "exclusive" the cursor should end up in the empty line,
> when it's "inclusive" on the end of the previous line.
the same behaviour. Doesn't seem to interfere with that...
Thomas Köhler Email: jean-luc@... | LCARS - Linux
<>< WWW: http://jeanluc-picard.de | for Computers
IRC: jeanluc | on All Real
PGP public key available from Homepage! | Starships