Mercurial > vim
view src/testdir/test106.in @ 6045:7fa2bed947fd v7.4.362
updated for version 7.4.362
Problem: When matchaddpos() uses a length smaller than the number of bytes
in the (last) character the highlight continues until the end of
the line.
Solution: Change condition from equal to larger-or-equal.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 09 Jul 2014 20:20:43 +0200 |
parents | fb24b025c7cf |
children |
line wrap: on
line source
Tests for errorformat. vim: set ft=vim ts=8 : STARTTEST :so small.vim :if !has('quickfix') | e! test.ok | wq! test.out | endif :set efm=%EEEE%m,%WWWW%m,%+CCCC%.%#,%-GGGG%.%# :cgetexpr ['WWWW', 'EEEE', 'CCCC'] :$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]'))) :cgetexpr ['WWWW', 'GGGG', 'EEEE', 'CCCC'] :$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]'))) :cgetexpr ['WWWW', 'GGGG', 'ZZZZ', 'EEEE', 'CCCC', 'YYYY'] :$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]'))) :/^Results/,$wq! test.out ENDTEST Results of test106: