MORRIS, Dominic, FM wrote:

Hi all, a nd thanks for the help on my last question.
I need to know that style that the lexer has asigned to a given character position, e.g. comment, statement, etc.
I can't see anything in the docs about how to retrieve this. Does anybody have any ideas?

How about this (from ScintillaDoc.html)? :)

SCI_GETSTYLEAT(int pos)
This returns the style at pos in the document, or 0 if pos is negative or past the end of the document.


Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to