Ilya 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
On the corresponding Unix version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 23 2006 22:12:23)
Included patches: 1-35
Compiled by [EMAIL PROTECTED]
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
[...]
I see it when scrolling by means of the scrollbar but _not_ when I do it
by means of the mouse wheel. In the latter case, the top brace loses its
cyan background as soon as the bottom one is pushed offscreen. In the
former case, an additional Ctrl-L is necessary.
Best regards,
Tony.