comparison src/normal.c @ 4472:94c5441984cc v7.3.984

updated for version 7.3.984 Problem: A Visual mapping that uses CTRL-G works differently when started from Insert mode. (Ein Brown) Solution: Reset old_mapped_len when handling typed text in Select mode.
author Bram Moolenaar <bram@vim.org>
date Tue, 21 May 2013 12:46:02 +0200
parents 04736b4030ec
children c624928fbc49
comparison
equal deleted inserted replaced
4471:b62288857e8e 4472:94c5441984cc
699 if (restart_edit != 0) 699 if (restart_edit != 0)
700 c = 'd'; 700 c = 'd';
701 else 701 else
702 c = 'c'; 702 c = 'c';
703 msg_nowait = TRUE; /* don't delay going to insert mode */ 703 msg_nowait = TRUE; /* don't delay going to insert mode */
704 old_mapped_len = 0; /* do go to Insert mode */
704 } 705 }
705 #endif 706 #endif
706 707
707 #ifdef FEAT_CMDL_INFO 708 #ifdef FEAT_CMDL_INFO
708 need_flushbuf = add_to_showcmd(c); 709 need_flushbuf = add_to_showcmd(c);