Mercurial > vim
view src/testdir/test69.ok @ 16650:06fd0eaada01 v8.1.1327
patch 8.1.1327: unnecessary scroll after horizontal split
commit https://github.com/vim/vim/commit/a9b2535f44f3265940a18d08520a9ad4ef7bda82
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 12 14:25:30 2019 +0200
patch 8.1.1327: unnecessary scroll after horizontal split
Problem: Unnecessary scroll after horizontal split.
Solution: Don't adjust to fraction if all the text fits in the window.
(Martin Kunev, closes #4367)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 May 2019 14:30:08 +0200 |
parents | 238f5027830c |
children | 1090d6637cfd |
line wrap: on
line source
Results of test69: { XYZ abc XYZ XYZ abc XYZ } { X X a X a X Y X Y X X a X a X Y X Y } { X X a X a X Y X Y a X ab X abc X ab X c ab X Y X X a X a X Y X Y a X ab X abc X ab X c ab X Y } { X X a X X a } { X X a X X a } { X Xa Xa XY XY XY XZ X Y X Y X Z XX XXa XXY X Xa Xa XY XY XY XZ X Y X Y X Z XX XXa XXY } { X a } { four } ra test aaaa aaa áx byteidx [0, 1, 3, 4, -1] [0, 1, 4, 5, -1] byteidxcomp [0, 1, 3, 4, -1] [0, 1, 2, 4, 5, -1] substitute a1a2a3a