Pablo Contreras wrote:

> Hi All,
> You may think I'm crazy, why would you want to call HIGHLIGHT so many
> times??? Because I wrote a color scheme script that updates the highlight
> continuously. Each 'time' it calls HIGHLIGHT 40 times to update each major
> syntax element's name, and if as I did you increase the frequency did once
> per second, this script ends up calling HIGHLIGHT 40 x 60 x 60 times in one
> hour = 144000.  Works perfectly, but... at around the hour, or around the
> 144000th call to HIGHLIGHT, HIGHLIGHT starts making the foreground color
> invisible.  You can not read the text on the screen any more.  If you do a
> ":" for command, the foreground colors appear but as soon as normal
> execution resumes and my script does more HIGHLIGHTs the ink becomes
> invisible again.
> As a work around, I have to re-start Vim every hour or so.
> Thanks guys,
> Pablo.

Hi Pablo

Could you send a minimalistic script which reproduces the problem.

Make sure the script sets all required options so it can be started
by something like "$ vim -u NONE -S bug.vim" to make sure it does
not depend on your ~/.vimrc or ~/.vim files.

Cheers
-- Dominique

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui