comparison src/testdir/test_textprop.vim @ 30304:f1fe59179180 v9.0.0488

patch 9.0.0488: cursor wrong with virtual text "above" and 'showbreak' Commit: https://github.com/vim/vim/commit/4c7fd4d68f69b4e420a5448f144f4d57eda22f8c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 17 17:15:33 2022 +0100 patch 9.0.0488: cursor wrong with virtual text "above" and 'showbreak' Problem: Cursor in wrong position with virtual text "above" and 'showbreak'. Solution: Take the first character column into account. (closes #11149)
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Sep 2022 18:30:04 +0200
parents 914b3c64ab92
children 43d942ff32ce
comparison
equal deleted inserted replaced
30303:05bd2e2a2967 30304:f1fe59179180
2872 call term_sendkeys(buf, "ggg$") 2872 call term_sendkeys(buf, "ggg$")
2873 call VerifyScreenDump(buf, 'Test_prop_with_text_above_1a', {}) 2873 call VerifyScreenDump(buf, 'Test_prop_with_text_above_1a', {})
2874 call term_sendkeys(buf, "g0") 2874 call term_sendkeys(buf, "g0")
2875 call VerifyScreenDump(buf, 'Test_prop_with_text_above_1b', {}) 2875 call VerifyScreenDump(buf, 'Test_prop_with_text_above_1b', {})
2876 2876
2877 call term_sendkeys(buf, ":set showbreak=>>\<CR>")
2878 call term_sendkeys(buf, "ggll")
2879 call VerifyScreenDump(buf, 'Test_prop_with_text_above_1c', {})
2880 call term_sendkeys(buf, ":set showbreak=\<CR>")
2881
2877 call term_sendkeys(buf, "ggI") 2882 call term_sendkeys(buf, "ggI")
2878 call VerifyScreenDump(buf, 'Test_prop_with_text_above_2', {}) 2883 call VerifyScreenDump(buf, 'Test_prop_with_text_above_2', {})
2879 call term_sendkeys(buf, "inserted \<Esc>") 2884 call term_sendkeys(buf, "inserted \<Esc>")
2880 call VerifyScreenDump(buf, 'Test_prop_with_text_above_3', {}) 2885 call VerifyScreenDump(buf, 'Test_prop_with_text_above_3', {})
2881 2886