annotate src/testdir/test_marks.in @ 6999:dc1b678f0e4e v7.4.817

patch 7.4.817 Problem: Invalid memory access in file_pat_to_reg_pat(). Solution: Use vim_isspace() instead of checking for a space only. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 16:20:05 +0200
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: