Dimitar Dimitrov wrote:

> I wrote:
>
> > Dimitar Dimitrov wrote:
> >
> > > I always have 'cursorline' set.
> > >
> > > Try this: :h'exrc
> > >
> > > Setting the cursor on this line...:
> > >
> > >        setting the 'secure' option (see initialization).  Using a local
> > >
> > > ...makes it move right. Same thing if you turn off cursorline but
> > > position your cursor on the left parens...
> > >
> > > I think this is related to the new conceal feature and the vertical bars
> > > appearing (|)
> >
> > The concealing is not done when there is something highlighted in the
> > line.  I'm not sure if this is required.  Perhaps it would be
> > highlighting the wrong position otherwise.  But for 'cursorline' this
> > doesn't matter.
> >
> > Vince?
>
> Looking at this again, I think it's bad that the cursor is at the wrong
> position.  E.g. a search lands in the wrong place.  Even when
> 'modifiable' is off a user would still want to copy text, and we don't
> want to copy something else than what's displayed.

I agree, copying right now from the help files brings up the concealed text (|
or *) which is unwanted.

>
> The highlighting does not appear to be a problem.  Perhaps I didn't try
> the right kind?
>
> I pushed a new version that does it this way, please check for how it
> works now.

I am unable to test at work unless there is a new version of the gVim
executable. At home, I am using a debian stable distribution but somehow
compiling Vim from the mercurial repo broke my session and I had to create a
new user account to deal with the problem. I am still investigating it...

-- 
ARTHUR:        A scratch?  Your arm's off!
BLACK KNIGHT:  No, it isn't.
ARTHUR:        Well, what's that then?
BLACK KNIGHT:  I've had worse.
                                  The Quest for the Holy Grail (Monty Python)

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



      

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