Mercurial > vim
annotate src/testdir/dumps/Test_prop_before_tab_08.dump @ 30207:7147c6059e80 v9.0.0439
patch 9.0.0439: cursor wrong if inserting before line with virtual text above
Commit: https://github.com/vim/vim/commit/88b79cb7d47e2e1fee1baf4016c50b861e6b21c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 10 22:32:14 2022 +0100
patch 9.0.0439: cursor wrong if inserting before line with virtual text above
Problem: Cursor wrong if inserting before line with virtual text above.
Solution: Add the width of the "above" virtual text to the cursor position.
(issue #11084)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Sep 2022 23:45:02 +0200 |
parents | b4fea827c20a |
children |
rev | line source |
---|---|
29676
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 |1+0&#ffff4012|2|3| +0&#ffffff0@4|x| @65 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |1+0&#ffff4012|2|3|4|5|6|7| +0&#ffffff0|x| @65 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 |1+0&#ffff4012|2|3|4|5|6|7|8| +0&#ffffff0@7|x| @57 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 |1+0&#ffff4012|2|3|4|5|6|7|8|9| +0&#ffffff0@6>x| @57 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 @8|A+0&#ffff4012|B|C|x+0&#ffffff0| @62 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 @8|x|A+0&#ffff4012|B|C| +0&#ffffff0@62 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 |~+0#4040ff13&| @73 |
b4fea827c20a
patch 9.0.0178: cursor position wrong with virtual text before Tab
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 | +0#0000000&@56|4|,|2|-|1|7| @7|A|l@1| |