|
Karsten Hopp |
fc0916 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
fc0916 |
Subject: Patch 7.2.284
|
|
Karsten Hopp |
fc0916 |
Fcc: outbox
|
|
Karsten Hopp |
fc0916 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
fc0916 |
Mime-Version: 1.0
|
|
Karsten Hopp |
fc0916 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
fc0916 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
fc0916 |
------------
|
|
Karsten Hopp |
fc0916 |
|
|
Karsten Hopp |
fc0916 |
Patch 7.2.284
|
|
Karsten Hopp |
fc0916 |
Problem: When editing the same buffer in two windows, one with folding,
|
|
Karsten Hopp |
fc0916 |
display may be wrong after changes.
|
|
Karsten Hopp |
fc0916 |
Solution: Call set_topline() to take care of side effects. (Lech Lorens)
|
|
Karsten Hopp |
fc0916 |
Files: src/misc1.c
|
|
Karsten Hopp |
fc0916 |
|
|
Karsten Hopp |
fc0916 |
|
|
Karsten Hopp |
fc0916 |
*** ../vim-7.2.283/src/misc1.c 2009-07-22 11:03:38.000000000 +0200
|
|
Karsten Hopp |
fc0916 |
--- src/misc1.c 2009-11-03 18:38:15.000000000 +0100
|
|
Karsten Hopp |
fc0916 |
***************
|
|
Karsten Hopp |
fc0916 |
*** 2886,2891 ****
|
|
Karsten Hopp |
fc0916 |
--- 2886,2898 ----
|
|
Karsten Hopp |
fc0916 |
}
|
|
Karsten Hopp |
fc0916 |
#endif
|
|
Karsten Hopp |
fc0916 |
}
|
|
Karsten Hopp |
fc0916 |
+
|
|
Karsten Hopp |
fc0916 |
+ #ifdef FEAT_FOLDING
|
|
Karsten Hopp |
fc0916 |
+ /* Take care of side effects for setting w_topline when folds have
|
|
Karsten Hopp |
fc0916 |
+ * changed. Esp. when the buffer was changed in another window. */
|
|
Karsten Hopp |
fc0916 |
+ if (hasAnyFolding(wp))
|
|
Karsten Hopp |
fc0916 |
+ set_topline(wp, wp->w_topline);
|
|
Karsten Hopp |
fc0916 |
+ #endif
|
|
Karsten Hopp |
fc0916 |
}
|
|
Karsten Hopp |
fc0916 |
}
|
|
Karsten Hopp |
fc0916 |
|
|
Karsten Hopp |
fc0916 |
*** ../vim-7.2.283/src/version.c 2009-11-03 18:13:36.000000000 +0100
|
|
Karsten Hopp |
fc0916 |
--- src/version.c 2009-11-03 18:44:12.000000000 +0100
|
|
Karsten Hopp |
fc0916 |
***************
|
|
Karsten Hopp |
fc0916 |
*** 678,679 ****
|
|
Karsten Hopp |
fc0916 |
--- 678,681 ----
|
|
Karsten Hopp |
fc0916 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
fc0916 |
+ /**/
|
|
Karsten Hopp |
fc0916 |
+ 284,
|
|
Karsten Hopp |
fc0916 |
/**/
|
|
Karsten Hopp |
fc0916 |
|
|
Karsten Hopp |
fc0916 |
--
|
|
Karsten Hopp |
fc0916 |
Men may not be seen publicly in any kind of strapless gown.
|
|
Karsten Hopp |
fc0916 |
[real standing law in Florida, United States of America]
|
|
Karsten Hopp |
fc0916 |
|
|
Karsten Hopp |
fc0916 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
fc0916 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
fc0916 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
fc0916 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|