Mercurial > vim
view src/testdir/test_search_mbyte.in @ 6967:20ed78fab428 v7.4.801
patch 7.4.801
Problem: Test for ":diffoff" doesn't catch all potential problems.
Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 28 Jul 2015 14:42:45 +0200 |
parents | 5f9aae6928bc |
children |
line wrap: on
line source
Test for search('multi-byte char', 'bce') STARTTEST :source small.vim :source mbyte.vim :set encoding=utf-8 :/^Test bce:/+1 :$put =search('A', 'bce', line('.')) :1;/^Results:/,$wq! test.out ENDTEST Results: Test bce: A