Yegappan wrote:
> When placing a sign, if enabling the sign column wraps a previous
> line, then the cursor is placed incorrectly. The following series of
> commands reproduces the problem:
>
> vim --noplugin -N -u NONE
> :new
> :call append(0, repeat('x', 80))
> :call append(1, ["mmmm", "yyyy"])
> :call cursor(2,1)
> :sign define s1 texthl=Search text==>
> :sign place 10 line=2 name=s1
>
> The cursor will be positioned visually at screen line 2 instead of
> screen line 3. Now if the sign is unplaced using:
>
> :sign unplace 10
>
> The cursor will be positioned visually at screen line 3 instead of
> screen line 2.
I see. It's caused by the cursor position not being invalidated
properly. I'll make a fix.
--
Some of the well known MS-Windows errors:
ETIME Wrong time, wait a little while
ECRASH Try again...
EDETECT Unable to detect errors
EOVER You lost! Play another game?
ENOCLUE Eh, what did you want?
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201906161155.x5GBtrg1031778%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.