On Mon, 05 Feb 2007 14:34:48 -0800
Robert Roessler <[EMAIL PROTECTED]> wrote:

> Matt Cheddar wrote:
> > ...
> > 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. Or is it guaranteed there is 
> > a 1-1 relationship between SC_MOD_INSERTTEXT/SC_MOD_DELETETEXT and 
> > SCN_STYLENEEDED, i.e. for each insert/delete there will be one and only one 
> > SCN_STYLENEEDED (sent before any more insert/delete notifications) so i can 
> > abandon the queue and handle the one latest insert/delete in 
> > SCN_STYLENEEDED? Or is there (hopefully!) a simpler method?
> 
> 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 (you don't mention what version you are 
> using, which will usually make it harder for anyone to help you).
> 

Thanks Robert. I have been using 1.72 on Windows and was unaware of these 
changes. I'll take a look at the CVS version tomorrow and hopefully it'll be 
just what i'm looking for!

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

Reply via email to