1
0
forked from aniani/vim

updated for version 7.3.305

Problem:    Auto-loading a function while editing the command line causes
            scrolling up the display.
Solution:   Don't set msg_scroll when defining a function and the user is not
            typing. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar 2011-09-14 14:33:51 +02:00
parent 612af43cb6
commit 52af96527c
2 changed files with 4 additions and 1 deletions

View File

@ -20786,7 +20786,8 @@ ex_function(eap)
nesting = 0; nesting = 0;
for (;;) for (;;)
{ {
msg_scroll = TRUE; if (KeyTyped)
msg_scroll = TRUE;
need_wait_return = FALSE; need_wait_return = FALSE;
sourcing_lnum_off = sourcing_lnum; sourcing_lnum_off = sourcing_lnum;

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
305,
/**/ /**/
304, 304,
/**/ /**/