Ilya Bobir wrote:
> gvim -u NONE -U NONE
>
> Create file with 100 empty lines, line with {, 20 empty lines and line
> with }:
>
> :exe "normal i{\<CR>}\<Esc>20O\<Esc>j%100O\<Esc>j%"
>
> Turn on matchparen plugin:
>
> :set nocp
> :source $VIMRUNTIME/plugin/matchparen.vim
>
> Now cursor should be on the }, this line is the lowest line in the vim
> window and both braces should be highlighted. Use mouse wheel to scroll
> buffer down a bit, so that the line with } would disappear and cursor
> would move several lines up.
>
> Cursor is now on an empty line, but braces are still highlighted.
>
>
> VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 24 2006 14:17:06)
> MS-Windows 32 bit GUI version with OLE support
> Included patches: 1-35
This appears to be specific for the Win32 GUI version. Other versions I
tried work OK.
--
SUPERIMPOSE "England AD 787". After a few more seconds we hear hoofbeats in
the distance. They come slowly closer. Then out of the mist comes KING
ARTHUR followed by a SERVANT who is banging two half coconuts together.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///