]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.292
- new
[packages/vim.git] / 7.3.292
CommitLineData
59ab3540
AM
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.292
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.292
11Problem: Crash when using fold markers and selecting a visual block that
12 includes a folded line and goes to end of line. (Sam Lidder)
13Solution: Check for the column to be MAXCOL. (James Vega)
14Files: 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--
49Hacker: Someone skilled in computer programming (good guy).
50Cracker: 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 ///
This page took 0.076577 seconds and 4 git commands to generate.