On Wed, 7 Feb 2007 08:30:12 +1100
"Neil Hodgson" <[EMAIL PROTECTED]> wrote:

>    When you receive the timer/idle, you can discover what has been
> styled from the SCI_GETENDSTYLED message. Process all the text in the
> changed range up to the end of styling and remove the processed text
> from the changed range. You won't necessarily see styling for all of
> the text in the buffer as it is often styled only to the last line
> displayed.

Cheers, it seems to be working now. The entire text is colourised when it is 
first loaded to be sure the whole buffer is styled and not just the last line 
shown (it would have to be lexed to update the treeview for the entire document 
in any case so this doesn't take any additional time).

Thanks for your help.

Matt
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to