4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.2.255 (after 7.2.242)
11 Problem: Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be
13 Solution: Recompute the cursor column for these options.
17 *** ../vim-7.2.254/src/option.c 2009-07-29 15:41:32.000000000 +0200
18 --- src/option.c 2009-09-11 13:59:55.000000000 +0200
24 curwin->w_leftcol = 0;
25 + if (curwin->w_curswant != MAXCOL)
26 + curwin->w_set_curswant = TRUE;
36 + #ifdef FEAT_LINEBREAK
37 + if ((int *)varp == &curwin->w_p_lbr)
39 + if (curwin->w_curswant != MAXCOL)
40 + curwin->w_set_curswant = TRUE;
44 + #ifdef FEAT_RIGHTLEFT
45 + if ((int *)varp == &curwin->w_p_rl)
47 + if (curwin->w_curswant != MAXCOL)
48 + curwin->w_set_curswant = TRUE;
53 * End of handling side effects for bool options.
55 *** ../vim-7.2.254/src/version.c 2009-09-11 15:04:13.000000000 +0200
56 --- src/version.c 2009-09-11 15:19:40.000000000 +0200
60 { /* Add new patch number below this line */
66 A computer without Windows is like a fish without a bicycle.
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70 \\\ download, build and distribute -- http://www.A-A-P.org ///
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///