Mercurial > vim
view src/testdir/test_marks.in @ 7311:743c258ca3ab v7.4.961
commit https://github.com/vim/vim/commit/9dc2ce398bb3456cc8f590ef0260459798b34d2a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 5 19:47:04 2015 +0100
patch 7.4.961
Problem: Test107 fails in some circunstances.
Solution: When using "zt", "zb" and "z=" recompute the fraction.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 Dec 2015 20:00:04 +0100 |
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: