• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisão8a22a90c964a168cf3d93f5ff8d5c531a4327ea6 (tree)
Hora2008-01-15 04:12:28
Autorvimboss
Commitervimboss

Mensagem de Log

updated for version 7.1-229

Mudança Sumário

Diff

diff -r 61709607f5e2 -r 8a22a90c964a src/edit.c
--- a/src/edit.c Sun Jan 13 20:58:13 2008 +0000
+++ b/src/edit.c Mon Jan 14 19:12:28 2008 +0000
@@ -8618,6 +8618,14 @@
86188618 if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
86198619 dollar_vcol = curwin->w_virtcol;
86208620
8621+#ifdef FEAT_FOLDING
8622+ /* When deleting a char the cursor line must never be in a closed fold.
8623+ * E.g., when 'foldmethod' is indent and deleting the first non-white
8624+ * char before a Tab. */
8625+ if (did_backspace)
8626+ foldOpenCursor();
8627+#endif
8628+
86218629 return did_backspace;
86228630 }
86238631
diff -r 61709607f5e2 -r 8a22a90c964a src/version.c
--- a/src/version.c Sun Jan 13 20:58:13 2008 +0000
+++ b/src/version.c Mon Jan 14 19:12:28 2008 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 229,
671+/**/
670672 228,
671673 /**/
672674 227,
Show on old repository browser