blob: 82a43eeaa7a3c7a276320cec01726002c52f9e2f (
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
53
|
To: vim-dev@vim.org
Subject: Patch 7.2.147
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 7.2.147
Problem: When compiled as small version and 'number' is on the cursor is
displayed in the wrong position after a tab. (James Vega)
Solution: Don't increment vcol when still displaying the line number.
Files: src/screen.c
*** ../vim-7.2.146/src/screen.c Wed Mar 11 17:57:05 2009
--- src/screen.c Wed Mar 18 16:18:00 2009
***************
*** 4665,4671 ****
--n_skip;
/* Only advance the "vcol" when after the 'number' column. */
! if (draw_state >= WL_SBR
#ifdef FEAT_DIFF
&& filler_todo <= 0
#endif
--- 4665,4671 ----
--n_skip;
/* Only advance the "vcol" when after the 'number' column. */
! if (draw_state > WL_NR
#ifdef FEAT_DIFF
&& filler_todo <= 0
#endif
*** ../vim-7.2.146/src/version.c Wed Mar 18 15:40:03 2009
--- src/version.c Wed Mar 18 16:26:00 2009
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 147,
/**/
--
You can tune a file system, but you can't tuna fish
-- man tunefs
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|