|
1 To: [email protected] |
|
2 Subject: Patch 7.2.140 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.140 |
|
11 Problem: Diff highlighting isn't displayed before the Visual area if it |
|
12 starts at the cursor position. (Markus Heidelberg) |
|
13 Solution: Also check fromcol_prev. |
|
14 Files: src/screen.c |
|
15 |
|
16 |
|
17 *** ../vim-7.2.139/src/screen.c Sun Feb 22 21:12:22 2009 |
|
18 --- src/screen.c Wed Mar 11 13:59:24 2009 |
|
19 *************** |
|
20 *** 3555,3561 **** |
|
21 /* Use line_attr when not in the Visual or 'incsearch' area |
|
22 * (area_attr may be 0 when "noinvcur" is set). */ |
|
23 else if (line_attr != 0 && ((fromcol == -10 && tocol == MAXCOL) |
|
24 ! || (vcol < fromcol || vcol >= tocol))) |
|
25 char_attr = line_attr; |
|
26 #endif |
|
27 else |
|
28 --- 3555,3562 ---- |
|
29 /* Use line_attr when not in the Visual or 'incsearch' area |
|
30 * (area_attr may be 0 when "noinvcur" is set). */ |
|
31 else if (line_attr != 0 && ((fromcol == -10 && tocol == MAXCOL) |
|
32 ! || vcol < fromcol || vcol_prev < fromcol_prev |
|
33 ! || vcol >= tocol)) |
|
34 char_attr = line_attr; |
|
35 #endif |
|
36 else |
|
37 *** ../vim-7.2.139/src/version.c Wed Mar 11 17:27:46 2009 |
|
38 --- src/version.c Wed Mar 11 17:42:19 2009 |
|
39 *************** |
|
40 *** 678,679 **** |
|
41 --- 678,681 ---- |
|
42 { /* Add new patch number below this line */ |
|
43 + /**/ |
|
44 + 140, |
|
45 /**/ |
|
46 |
|
47 -- |
|
48 Some of the well know MS-Windows errors: |
|
49 EMEMORY Memory error caused by..., eh... |
|
50 ELICENSE Your license has expired, give us more money! |
|
51 EMOUSE Mouse moved, reinstall Windows |
|
52 EILLEGAL Illegal error, you are not allowed to see this |
|
53 EVIRUS Undetectable virus found |
|
54 |
|
55 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
56 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
57 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |