Hi Bram, On Tue, Aug 2, 2022 at 7:53 AM Bram Moolenaar <[email protected]> wrote: > > > Yegappan wrote: > > > After executing the following set of commands: > > > > ---------------------------------------------------------- > > new > > call setline(1, ["A quick brown fox jumps over the fence"]) > > call prop_type_add("MyProp", #{bufnr: bufnr(), highlight: 'Search'}) > > call prop_add(1, 9, #{type: "MyProp", text: "Hello World", length: 4}) > > call cursor(1, 15) > > ---------------------------------------------------------- > > > > I expected the cursor to be positioned at column 15. But the cursor > > is positioned at column 26. If you press CTRL-L, then the > > cursor is moved to a different column. > > Checked this now: It looks correct to me. The cursor is positioned in > text column 15, which is shifted to the right by the virtual text, thus > that makes it end up in screen column 26, since the text is 11 cells > wide. CTRL-L does not change this (probably fixed recently). >
Yes. The recent patches fixed this problem. Thanks, Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7nr94ddhKuREQZJQ01QiH%2BZhfE%3DnUkOku5SzxO0R69QAg%40mail.gmail.com.
