summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.328
blob: 24dad70227dee3a91be431ca1d056281d878f669 (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
To: vim_dev@googlegroups.com
Subject: Patch 7.3.328
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.328
Problem:    When command line wraps the cursor may be displayed wrong when
	    there are multi-byte characters.
Solution:   Position the cursor before drawing the text. (Yasuhiro Matsumoto)
Files:	    src/ex_getln.c


*** ../vim-7.3.327/src/ex_getln.c	2011-09-30 16:23:21.000000000 +0200
--- src/ex_getln.c	2011-09-30 17:39:27.000000000 +0200
***************
*** 2870,2875 ****
--- 2870,2876 ----
  	{
  	    msg_no_more = TRUE;
  	    i = cmdline_row;
+ 	    cursorcmd();
  	    draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  	    /* Avoid clearing the rest of the line too often. */
  	    if (cmdline_row != i || ccline.overstrike)
*** ../vim-7.3.327/src/version.c	2011-09-30 17:30:27.000000000 +0200
--- src/version.c	2011-09-30 17:45:28.000000000 +0200
***************
*** 711,712 ****
--- 711,714 ----
  {   /* Add new patch number below this line */
+ /**/
+     328,
  /**/

-- 
To define recursion, we must first define recursion.

 /// 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    ///