Hi,

Sometimes (maybe when scrolling occurs) undo messages like
"2 fewer lines: before #79  7 seconds ago" are not shown.
(Vim 7.4.041 on Windows, 7.3.429 on Linux)

E.g.

1. $ gvim -N -u NONE -U NONE
2. Input a line: `ifoo<CR><Esc>`.
3. Repeat it more than 25 times (= more than the screen lines) using `.`.
4. Go to the first line using `gg`, then undo by using `u`.
   Undo message will not be shown.
5. Repeat `ggu` several times.
   Undo message will be shown if the file lines becomes fewer than the screen
   lines.

Attached patch seems to fix this, but I'm not sure this is the best way.

Regards,
Ken Takata

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch
# Parent e89f9176882f2e24edbe9d98fe007174d612b7a9
diff --git a/src/undo.c b/src/undo.c
--- a/src/undo.c
+++ b/src/undo.c
@@ -2728,6 +2728,7 @@
 	}
     }
 #endif
+    redraw_later(NOT_VALID);
 
     smsg((char_u *)_("%ld %s; %s #%ld  %s"),
 	    u_oldcount < 0 ? -u_oldcount : u_oldcount,

Raspunde prin e-mail lui