comparison src/eval.c @ 3066:0e06c025f66f v7.3.305

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)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Sep 2011 14:33:51 +0200
parents 45ead8a0bede
children 2cbde6bcc623
comparison
equal deleted inserted replaced
3065:dd1985e49025 3066:0e06c025f66f
20784 20784
20785 indent = 2; 20785 indent = 2;
20786 nesting = 0; 20786 nesting = 0;
20787 for (;;) 20787 for (;;)
20788 { 20788 {
20789 msg_scroll = TRUE; 20789 if (KeyTyped)
20790 msg_scroll = TRUE;
20790 need_wait_return = FALSE; 20791 need_wait_return = FALSE;
20791 sourcing_lnum_off = sourcing_lnum; 20792 sourcing_lnum_off = sourcing_lnum;
20792 20793
20793 if (line_arg != NULL) 20794 if (line_arg != NULL)
20794 { 20795 {