Dominique Pelle wrote:

> Bram Moolenaar wrote:
> 
> >> It would be nice.  As it is, many of the lines in help files
> >> jiggle back and forth as the cursor moves through them.  It's very
> >> distracting.  I would rather have the markup characters not
> >> concealed at all.
> >
> > Yes, we were discussing that in another thread.
> >
> > I thought of a solution, it's not completely finished yet:
> > - Add the 'concealcursor' option.  When on the cursor line is also
> >  concealed.  It would be set in help files.
> > - When moving the cursor around, the cursor line is always updated, also
> >  when moving horizontally.  The cursor position is then corrected while
> >  redrawing, which is where we know what is concealed.
> > - We probably should not conceal the cursor line in Insert mode.
> >  Possibly also not in Visual mode.
> > - When searching or moving around vertically the cursor will show up in
> >  the right place.
> > - When moving the cursor right-left it will "stick" in one position when
> >  going over concealed items.
> > - When copying a word that is not next to concealed text it should work
> >  OK.  When copying text just next to concealed text you don't know
> >  exactly what you will get.
> >
> > Adding the 'concealcursor' option, with the short name 'cocu', makes the
> > short name for "conceallevel' a bit strange: 'conc'.  I think it's
> > better to rename it to 'cole'.
> >
> > Vince, any remarks?
> >
> > Perhaps 'concealcursor' should not be a boolean, but indicate the modes
> > in which it's OK to conceal the cursor line, thus "nv" would mean to
> > conceal the cursor line in Normal and Visual modes.  Makes it more
> > complicated to use though.
> >
> > We need to decide about this really soon, otherwise the Vim 7.3 release
> > would be delayed.
> 
> 
> Another thing slightly counter intuitive with conceal feature
> and help pages:
> 
> - I open a help page  with   :help
>   Help window has conceallevel=2
> - I split the help window with   :split
> - I now have 2 help windows:
>   one with conceallevel=2
>   the other one with conceallevel=0
> 
> Wouldn't it better if both help windows had conceallevel=2 ?

Yes, I'll fix that.

-- 
Dreams are free, but there's a small charge for alterations.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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