comparison src/testdir/test_charsearch.in @ 7478:dbfa0f9ab289 v7.4.1041

commit https://github.com/vim/vim/commit/022b896592721838e387e99fd785d3ded7b68be7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 3 22:16:20 2016 +0100 patch 7.4.1041 Problem: Various small things. Solution: Add file to list of distributed files. Adjust README. Fix typo.
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Jan 2016 22:30:04 +0100
parents 814f1f569e4a
children efbb9916290c
comparison
equal deleted inserted replaced
7477:05cf4cc72a9f 7478:dbfa0f9ab289
8 :" check that save/restore works 8 :" check that save/restore works
9 /^Y 9 /^Y
10 ylfep:let csave = getcharsearch() 10 ylfep:let csave = getcharsearch()
11 fip:call setcharsearch(csave) 11 fip:call setcharsearch(csave)
12 ;p;p: 12 ;p;p:
13 :" check that setcharsearch() changes the settins. 13 :" check that setcharsearch() changes the settings.
14 /^Z 14 /^Z
15 ylfep:call setcharsearch({'char': 'k'}) 15 ylfep:call setcharsearch({'char': 'k'})
16 ;p:call setcharsearch({'forward': 0}) 16 ;p:call setcharsearch({'forward': 0})
17 $;p:call setcharseearch({'until'}: 1}) 17 $;p:call setcharseearch({'until'}: 1})
18 ;;p: 18 ;;p: