Hi Bram!
2015-7-29(Wed) 12:58:19 UTC+9 h_east:
> Hi Bram and Christian B,
>
> 2015-7-28(Tue) 18:34:13 UTC+9 Bram Moolenaar:
> > Patch 7.4.798 (after 7.4.753)
> > Problem: Repeating a change in Visual mode does not work as expected.
> > (Urtica Dioica)
> > Solution: Make redo in Visual mode work better. (Christian Brabandt)
> > Files: src/normal.c, src/testdir/test_listlbr.in,
> > src/testdir/test_listlbr.ok
> >
[...]
> Since this patch, Actual mode and displayed mode is differ.
>
> How to reproduce:
> $ vim -N -u NONE
> i1<Esc>
> <C-V> " '-- VISUAL BLOCK --' is displayed on the last line.
> <C-A>
>
> Expect behavior:
> - Clear the last line. (Because the transition to the normal mode)
>
> Actual behavior:
> - Keep displaying '-- VISUAL BLOCK --'
> (When input The <C-L>, This can be erased)
Oops, It was not since this patch.
But, it has been occurred since unknown version.
Attached patch may fix this problem.
Could you check this?
--
Best regards,
Hirohito Higashi (a.k.a h_east)
--
--
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 -r 893d1ea575c9 src/normal.c
--- a/src/normal.c Tue Jul 28 21:17:37 2015 +0200
+++ b/src/normal.c Wed Jul 29 18:23:33 2015 +0900
@@ -4259,6 +4259,7 @@
{
VIsual_active = FALSE;
redo_VIsual_busy = FALSE;
+ clear_cmdline = TRUE;
redraw_later(INVERTED);
}
}