Marcin Szamotulski wrote:

> With the conceal feature enabled it happens that a long line that fills
> several screen lines (without conceal) is break at exactly the same places
> when conceal is not enabled. For example look at the following line with the
> following settings: set ft=tex, set cole=2
> \(\bigcap_{i\in I}\;A\otimes I_i\ni\sum_{l=1}^n a_l\otimes b_l & 
> \;\Leftrightarrow\;\forall_{i\in I}\ \sum_{l=1}^n a_l\otimes b_l\in A\otimes 
> I_i\notag\)
> 
> It would be nice if vim could fill whole the lines, i.e. break them in
> more accurate places when conceal is enabled.

This is intentional.  Without this cursor movements would be messed up,
as the screen line depends on how text is concealed, which requires
syntax parsing, which is slow.

There still is the bug that cursor positioning with the mouse doesn't
work properly.  To fix that requires something similar as what is
required for this feature.  Perhaps someone can make that work, it's not
going to be easy.

-- 
No children may attend school with their breath smelling of "wild onions."
                [real standing law in West Virginia, United States of America]

 /// 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

Raspunde prin e-mail lui