annotate src/testdir/test_marks.in @ 7311:743c258ca3ab v7.4.961

commit https://github.com/vim/vim/commit/9dc2ce398bb3456cc8f590ef0260459798b34d2a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 5 19:47:04 2015 +0100 patch 7.4.961 Problem: Test107 fails in some circunstances. Solution: When using "zt", "zb" and "z=" recompute the fraction.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Dec 2015 20:00:04 +0100
parents 3c312e259c79
children 4250ecde6009
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6622
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for marks.
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :" test that a deleted mark is restored after delete-undo-redo-undo
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :/^\t/+1
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :set nocp viminfo+=nviminfo
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 madduu
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :let a = string(getpos("'a"))
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :$put ='Mark after delete-undo-redo-undo: '.a
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :/^\t/,$wq! test.out
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 ENDTEST
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 textline A
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 textline B
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 textline C
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
3c312e259c79 Add missing test files from 7.4.634 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 Results: