On Tue, 6 Feb 2007 10:27:20 +1100 "Neil Hodgson" <[EMAIL PROTECTED]> wrote:
> Matt Cheddar: > > > I am thinking perhaps i should create a queue of the relevant > > SC_MOD_INSERTTEXT/SC_MOD_DELETETEXT information and > > process it in SCN_STYLENEEDED after styling has taken place. > > I'd probably delay it even further with a timer or idle handler > that then processes the area of the file that has been changed after > the styling has been performed. If i do the processing in a timer, how can i be sure that the styling has been performed so that the update doesn't take place after the text has been modified but before the style data has been updated? Maybe i should set a flag in SCN_STYLENEEDED and clear it in SCN_MODIFIED but that wouldn't work if i switch from SCLEX_CONTAINER to one of the included lexers though. Thanks, Matt _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
