]>
Commit | Line | Data |
---|---|---|
59ab3540 AM |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.292 | |
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.292 | |
11 | Problem: Crash when using fold markers and selecting a visual block that | |
12 | includes a folded line and goes to end of line. (Sam Lidder) | |
13 | Solution: Check for the column to be MAXCOL. (James Vega) | |
14 | Files: src/screen.c | |
15 | ||
16 | ||
17 | *** ../vim-7.3.291/src/screen.c 2011-08-10 14:32:33.000000000 +0200 | |
18 | --- src/screen.c 2011-09-02 13:58:18.000000000 +0200 | |
19 | *************** | |
20 | *** 2531,2537 **** | |
21 | /* Visual block mode: highlight the chars part of the block */ | |
22 | if (wp->w_old_cursor_fcol + txtcol < (colnr_T)W_WIDTH(wp)) | |
23 | { | |
24 | ! if (wp->w_old_cursor_lcol + txtcol < (colnr_T)W_WIDTH(wp)) | |
25 | len = wp->w_old_cursor_lcol; | |
26 | else | |
27 | len = W_WIDTH(wp) - txtcol; | |
28 | --- 2531,2539 ---- | |
29 | /* Visual block mode: highlight the chars part of the block */ | |
30 | if (wp->w_old_cursor_fcol + txtcol < (colnr_T)W_WIDTH(wp)) | |
31 | { | |
32 | ! if (wp->w_old_cursor_lcol != MAXCOL | |
33 | ! && wp->w_old_cursor_lcol + txtcol | |
34 | ! < (colnr_T)W_WIDTH(wp)) | |
35 | len = wp->w_old_cursor_lcol; | |
36 | else | |
37 | len = W_WIDTH(wp) - txtcol; | |
38 | *** ../vim-7.3.291/src/version.c 2011-09-02 12:27:20.000000000 +0200 | |
39 | --- src/version.c 2011-09-02 14:00:03.000000000 +0200 | |
40 | *************** | |
41 | *** 711,712 **** | |
42 | --- 711,714 ---- | |
43 | { /* Add new patch number below this line */ | |
44 | + /**/ | |
45 | + 292, | |
46 | /**/ | |
47 | ||
48 | -- | |
49 | Hacker: Someone skilled in computer programming (good guy). | |
50 | Cracker: A hacker that uses his skills to crack software (bad guy). | |
51 | ||
52 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
53 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
54 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
55 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |