summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.477
blob: 8030ee65a750f9a02ad0baf1c3650e19cc639676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
To: vim_dev@googlegroups.com
Subject: Patch 7.3.477
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.477
Problem:    Using ":echo" to output enough lines to scroll, then using "j" and
	    "k" at the more prompt, displays the command on top of the output.
	    (Marcin Szamotulski) 
Solution:   Put the output below the command. (Christian Brabandt)
Files:	    src/eval.c


*** ../vim-7.3.476/src/eval.c	2012-03-07 19:16:49.000000000 +0100
--- src/eval.c	2012-03-23 15:11:30.000000000 +0100
***************
*** 20492,20498 ****
--- 20492,20503 ----
  		/* Call msg_start() after eval1(), evaluating the expression
  		 * may cause a message to appear. */
  		if (eap->cmdidx == CMD_echo)
+ 		{
+ 		    /* Put the output below the command, makes scrolling back
+ 		     * at more prompt work. */
+ 		    msg_didout = TRUE;
  		    msg_start();
+ 		}
  	    }
  	    else if (eap->cmdidx == CMD_echo)
  		msg_puts_attr((char_u *)" ", echo_attr);
*** ../vim-7.3.476/src/version.c	2012-03-23 14:16:19.000000000 +0100
--- src/version.c	2012-03-23 15:13:58.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     477,
  /**/

-- 
"Marriage is when a man and woman become as one; the trouble starts
when they try to decide which one"

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///