Mercurial > vim
view pixmaps/tb_find_next.xpm @ 34146:23bb675796f0 v9.1.0034
patch 9.1.0034: Window scrolls unexpectedly when 'scrollbind' is set
Commit: https://github.com/vim/vim/commit/ac4cffc6d9d307778d8a2945adab70244470bbb8
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Jan 16 17:22:38 2024 +0100
patch 9.1.0034: Window scrolls unexpectedly when 'scrollbind' is set
Problem: Window may unexpectedly scroll when 'scrollbind' is set
and setting a buffer-local option using setbufvar()
(Boris Staletic)
Solution: Save and restore the windows topline before opening the
popup window.
fixes: #13863
closes: #13869
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Jan 2024 17:30:10 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_find_next_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 7 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconColor2 m none c #FFFFFF", "o s iconGray2 m none c #bdbdbd", "O m black c #880000", "+ s bottomShadowColor m black c #5D6069", "@ s iconColor3 m black c #FF0000", /* pixels */ " ", " ......... ", " .XXXXXXX.. ", " .XXXXXXX.o. ", " .XOXXXXX.... ", " +XOOXXXXXXX. ", "OOOOO@OXXX.... ", "O@@@@@@OX.oooo. ", "O@@@@@@@OoXXooo. ", "O@@@@@@O.oXoooo. ", "OOOOO@OX.oooooo. ", " +XOOXX.oooXoo. ", " .XOXXXX.oooo.+ ", " .XXXXXXX....+.. ", " .XXXXXXXXXX.+...", " ............+ ..", " ++++++++++ ", " "};