Mercurial > vim
view src/testdir/test37.ok @ 16690:4e3c4e8e465c v8.1.1347
patch 8.1.1347: fractional scroll position not restored after closing window
commit https://github.com/vim/vim/commit/bd2d68c2f42c7689f681aeaf82606d17f8a0312f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 18 15:36:11 2019 +0200
patch 8.1.1347: fractional scroll position not restored after closing window
Problem: Fractional scroll position not restored after closing window.
Solution: Do restore fraction if topline is not one.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 May 2019 15:45:05 +0200 |
parents | 4b23119cb584 |
children |
line wrap: on
line source
0 line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05 1 line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05 2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11 3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11 4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06 6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02 7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02 56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02 UTSRQPONMLKJIHGREDCBA9876543210 02 . line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11 . line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11 0 line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05 1 line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05 2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11 3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11 4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06 6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02 7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02 56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02 UTSRQPONMLKJIHGREDCBA9876543210 02 . line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11 . line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11 . line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16 :set scrollbind :set scrollbind . line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16 j: . line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12