]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - vim/patches/vim-7.3.328.patch0
Merge remote-tracking branch 'stevee/openvswitch-systemd'
[people/amarx/ipfire-3.x.git] / vim / patches / vim-7.3.328.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.328
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.328
11 Problem: When command line wraps the cursor may be displayed wrong when
12 there are multi-byte characters.
13 Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
14 Files: src/ex_getln.c
15
16
17 *** ../vim-7.3.327/src/ex_getln.c 2011-09-30 16:23:21.000000000 +0200
18 --- src/ex_getln.c 2011-09-30 17:39:27.000000000 +0200
19 ***************
20 *** 2870,2875 ****
21 --- 2870,2876 ----
22 {
23 msg_no_more = TRUE;
24 i = cmdline_row;
25 + cursorcmd();
26 draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
27 /* Avoid clearing the rest of the line too often. */
28 if (cmdline_row != i || ccline.overstrike)
29 *** ../vim-7.3.327/src/version.c 2011-09-30 17:30:27.000000000 +0200
30 --- src/version.c 2011-09-30 17:45:28.000000000 +0200
31 ***************
32 *** 711,712 ****
33 --- 711,714 ----
34 { /* Add new patch number below this line */
35 + /**/
36 + 328,
37 /**/
38
39 --
40 To define recursion, we must first define recursion.
41
42 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
43 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
44 \\\ an exciting new programming language -- http://www.Zimbu.org ///
45 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///