annotate src/testdir/test_marks.in @ 6710:43a07fa78155 v7.4.679

updated for version 7.4.679 Problem: Color values greater than 255 cause problems on MS-Windows. Solution: Truncate to 255 colors. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Tue, 24 Mar 2015 17:12:19 +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: