Christian Brabandt wrote:

> certain normal mode commands change the visual selection type. E.g. 'R' 
> or 'S' (because internally, Vim changes the visual mode to 'V' so that 
> the command operates linewise. Unfortunately, this breaks 'gv'.
> 
> For example, take this mail, visually block select the first column, 
> press R, ESC to quit insert mode, u to undo the deletion and now try to 
> reselect the save region using 'gv'. You'll notice, it will select the 
> same range of lines, but line wise not block wise. This is especially 
> annoying, if you by accident hit 'R' instead of 'r' and you must 
> reselect the area instead of simply using 'gv'
> 
> Attached patch fixes this.

Thanks.  Since you describe an example, could you turn that into a test?

-- 
hundred-and-one symptoms of being an internet addict:
35. Your husband tells you he's had the beard for 2 months.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui