Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 24000:bb2e921d2601 v8.2.2542
patch 8.2.2542: highlight of char beyond line end is not correct
Commit: https://github.com/vim/vim/commit/41f0895c6e3c7b921e3c102ad42be52b1be48018
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 22 22:13:49 2021 +0100
patch 8.2.2542: highlight of char beyond line end is not correct
Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
Solution: Fix counting NUL as one cell. Draw one more character if the EOL
is part of the match. (closes #7883)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Feb 2021 22:15:03 +0100 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Tests for 'ballooneval' in the GUI. source check.vim CheckGui CheckFeature balloon_eval func Test_balloon_show_gui() let msg = 'this this this this' call balloon_show(msg) call assert_equal(msg, balloon_gettext()) sleep 10m call balloon_show('') let msg = 'that that' eval msg->balloon_show() call assert_equal(msg, balloon_gettext()) sleep 10m call balloon_show('') endfunc " vim: shiftwidth=2 sts=2 expandtab