Re: [scintilla] GetStyleAt always returns 0
by Neil Hodgson other posts by this author
Feb 28 2004 9:49PM messages near this date
[scintilla] GetStyleAt always returns 0
|
Re: [scintilla] New Guy - Question
Otto Wyss:
> Right after I insert text from a file into scintilla I run through this
> text and retrieve the folding level and the style of each position but
> GetStyleAt always returns 0. Is there a time lag until this information
> is available? If I later use GetStyleAt everything is fine.
>
> How can I solve this situation?
Styling is performed only as required to ensure the user sees styled text
so it occurs when the window is painted. Ask for the document to be styled
explicitly with SendEditor(SCI_COLOURISE, 0, -1);
Neil
_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@[...].org
http://mailman.lyra.org/mailman/listinfo/scintilla-interest
Thread:
Otto Wyss
Neil Hodgson
Neil Hodgson
Doyle Whisenant
|