Mercurial > vim
view src/testdir/test106.in @ 5875:daf7e98675cf v7.4.280
updated for version 7.4.280
Problem: When using a session file the relative position of the cursor is
not restored if there is another tab. (Nobuhiro Takasaki)
Solution: Update w_wrow before calculating the fraction.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 07 May 2014 20:25:35 +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: