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.
Or is it guaranteed there is a 1-1 relationship between SC_MOD_INSERTTEXT/SC_MOD_DELETETEXT and SCN_STYLENEEDED,
No. One of the reasons for performing styling later is to coalesce modifications into fewer stylings. Robert: # Have you tried working with the CVS version of Scintilla? Neil # relaxed some of the restrictions on updating in modify event handlers # *after* 1.72 was released It may be restricted again if there are problems. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
