view src/testdir/test_marks.in @ 6975:7b5f9313f40b v7.4.805

patch 7.4.805 Problem: The ruler shows "Bot" even when there are only filler lines missing. (Gary Johnson) Solution: Use "All" when the first line and one filler line are visible.
author Bram Moolenaar <bram@vim.org>
date Tue, 04 Aug 2015 17:43:25 +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: