Dominique Pelle wrote:

> Thanks for adding the 'concealcursor' options.  Help pages are nicer now.
> 
> There is one thing which we may consider changing: when selecting a
> visual rectangular block (CTRL-V) where there are concealed items, only
> the current line is unconcealed.  I think it'd be better if all lines in the
> visual block were unconcealed.  Screenshot below illustrates why:
> 
> http://dominique.pelle.free.fr/pic/concealed-visual-rect-block.png
> 
> In above screenshot, visual rectangular selection is in green.  Cursor
> is in red at bottom right of visual selection. Only the last line of the
> visual selection is unconcealed, causing the rectangular block to appear
> completely misaligned.
> 
> In the original implementation from Vince, not only the current line,
> but also all lines in visual selection were unconcealed.
> 
> Any thoughts on that?

This turns out to be easy to do, there already is a flag for the line
being in the Visual area.  Pushed a change for this.

-- 
Sorry, no fortune today.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.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

Raspunde prin e-mail lui