Bram,
consider this example:
sign define foobar
sign place 1 name=foobar line=1 buffer=1
sign unplace *
Note that the cursor is left in an incorrect (and invalid) column.
Problem is, the redraw is actuall too early. It should be performed
after the sign column is removed.
Best,
Christian
--
Zu erkennen, wann es eine Gelegenheit zu ergreifen gilt, ist das
Wichtigste im Leben; aber fast ebenso wichtig ist es zu wissen, wann
man auf einen Vorteil besser verzichtet.
-- Benjamin Disraeli
--
--
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].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/buffer.c b/src/buffer.c
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5712,9 +5712,9 @@ buf_delete_all_signs()
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
if (buf->b_signlist != NULL)
{
+ buf_delete_signs(buf);
/* Need to redraw the windows to remove the sign column. */
redraw_buf_later(buf, NOT_VALID);
- buf_delete_signs(buf);
}
}