Mercurial > vim
annotate src/testdir/test_marks.ok @ 8987:42beb54724fa v7.4.1779
commit https://github.com/vim/vim/commit/73dfe917ba6357413aaf98a021c91add5ac6e9bc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 23 13:54:48 2016 +0200
patch 7.4.1779
Problem: Using negative index in strcharpart(). (Yegappan Lakshmanan)
Solution: Assume single byte when using a negative iindex.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Apr 2016 14:00:05 +0200 |
parents | 4250ecde6009 |
children |
rev | line source |
---|---|
7570
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
1 Tests for marks. |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
2 |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
3 |
6622
3c312e259c79
Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
4 textline A |
3c312e259c79
Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
5 textline B |
3c312e259c79
Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 textline C |
3c312e259c79
Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
7 |
7570
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
8 |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
9 CTRL-A CTRL-X: |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
10 AAA 123 123 |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
11 123 XXXXXXX |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
12 XXX 123 123 |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
13 |
4250ecde6009
commit https://github.com/vim/vim/commit/a52dfaed104183c1fa2a3b6e4430b23d86bcbece
Christian Brabandt <cb@256bit.org>
parents:
6622
diff
changeset
|
14 |
6622
3c312e259c79
Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
15 Results: |
3c312e259c79
Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
16 Mark after delete-undo-redo-undo: [0, 15, 2, 0] |