Mercurial > vim
annotate src/testdir/dumps/Test_prop_before_tab_04.dump @ 34620:abc7a647c83b v9.1.0199
patch 9.1.0199: Not enough tests for the slice() function
Commit: https://github.com/vim/vim/commit/ad38769030b5fa86aa0e8f1f0b4266690dfad4c9
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Mar 23 08:23:48 2024 +0100
patch 9.1.0199: Not enough tests for the slice() function
Problem: Not enough tests for the slice() function.
Solution: Test with multibyte chars, and in both Legacy and Vim9 script.
Update docs to be clearer about how it treats composing chars.
(zeertzjq)
closes: #14275
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Mar 2024 08:30:06 +0100 |
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|2|,|2|-|9| @8|A|l@1| |