Mercurial > vim
view src/testdir/test_marks.in @ 7001:27f8247d2619 v7.4.818
patch 7.4.818
Problem: 'linebreak' breaks c% if the last Visual selection was block.
(Chris Morganiser, Issue 389)
Solution: Handle Visual block mode differently. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 11 Aug 2015 17:46:36 +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: