home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.0.258
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.0.258
- Problem: When 'scrolloff' is 999 and there are folds, the text can jump up
- and down when moving the cursor down near the end of the file.
- (Lubomir Host)
- Solution: When putting the cursor halfway the window start counting lines at
- the end of a fold.
- Files: src/move.c
-
-
- *** ../vim60.257/src/move.c Sat Feb 16 13:15:21 2002
- --- src/move.c Fri Feb 22 10:30:17 2002
- ***************
- *** 2079,2084 ****
- --- 2079,2087 ----
- #else
- used = plines(loff.lnum);
- #endif
- + #ifdef FEAT_FOLDING
- + (void)hasFolding(boff.lnum, NULL, &boff.lnum);
- + #endif
- topline = loff.lnum;
- while (topline > 1)
- {
- *** ../vim60.257/src/version.c Thu Feb 21 21:49:21 2002
- --- src/version.c Fri Feb 22 10:35:16 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 258,
- /**/
-
- --
- Bad fashion can discourage normal people from interacting with the engineer
- and talking about the cute things their children do.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-