4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: A fold is closed when it shouldn't when 'foldmethod' is "indent"
12 and backspacing a non-white character so that the indent increases.
13 Solution: Keep the fold open after backspacing a character.
17 *** ../vim-7.1.228/src/edit.c Sat Jan 12 18:13:05 2008
18 --- src/edit.c Mon Jan 14 20:06:43 2008
22 if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
23 dollar_vcol = curwin->w_virtcol;
26 + /* When deleting a char the cursor line must never be in a closed fold.
27 + * E.g., when 'foldmethod' is indent and deleting the first non-white
28 + * char before a Tab. */
36 *** ../vim-7.1.228/src/version.c Sun Jan 13 21:57:25 2008
37 --- src/version.c Mon Jan 14 20:08:35 2008
41 { /* Add new patch number below this line */
47 ROBIN: (warily) And if you get a question wrong?
48 ARTHUR: You are cast into the Gorge of Eternal Peril.
50 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ download, build and distribute -- http://www.A-A-P.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///