Hi,
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.
- Yegappan
--
--
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/CAAW7x7%3DJ8Ne5ttvn%2B8tmkRjiebntdY5%2B29LKNB6UYpp2ATwU2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.