diff src/testdir/test_textprop.vim @ 31584:cfc60c536a2f v9.0.1124

patch 9.0.1124: virtual text at a column position is truncated Commit: https://github.com/vim/vim/commit/1aeb3eb092a384e63a407096102fd5a954aabeb8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 1 14:04:51 2023 +0000 patch 9.0.1124: virtual text at a column position is truncated Problem: Virtual text at a column position is truncated at the window edge. (Yegappan Lakshmanan) Solution: Do not truncated virtual text that is placed at a column.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Jan 2023 15:15:03 +0100
parents 966c87c57912
children 7d0025a2940a
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -1978,6 +1978,7 @@ func Test_prop_with_wrap()
       setline(1, 'asdf '->repeat(15))
       prop_type_add('test', {highlight: 'Special'})
       prop_add(1, 43, {text: 'some virtual text', type: 'test'})
+      normal G$
   END
   call writefile(lines, 'XscriptPropWithWrap', 'D')
   let buf = RunVimInTerminal('-S XscriptPropWithWrap', #{rows: 6, cols: 50})