view src/testdir/test_marks.in @ 6870:66ab6ec256d1 v7.4.755

patch 7.4.755 Problem: It is not easy to count the number of characters. Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Thu, 25 Jun 2015 16:09:26 +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: