view src/testdir/test_marks.in @ 6967:20ed78fab428 v7.4.801

patch 7.4.801 Problem: Test for ":diffoff" doesn't catch all potential problems. Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz)
author Bram Moolenaar <bram@vim.org>
date Tue, 28 Jul 2015 14:42:45 +0200
parents 3c312e259c79
children 4250ecde6009
line wrap: on
line source

Tests for marks.

STARTTEST
:so small.vim
:" test that a deleted mark is restored after delete-undo-redo-undo
:/^\t/+1
:set nocp viminfo+=nviminfo
madduu
:let a = string(getpos("'a"))
:$put ='Mark after delete-undo-redo-undo: '.a
:/^\t/,$wq! test.out
ENDTEST

	textline A
	textline B
	textline C

Results: