Steve Topov wrote:
The question still remains unanswered. After digging into Scintilla code I
found that editor uses SetState function to set states for different words.
So how can I find the word with the state lets say SCE_SQL_WORD?

I think you'd need to use StyleAt() on the document object to examine the state of each character and then write code to determine the extent of a word. AFAIK, there is no higher level function to do this in the scintilla source base. Are you really looking for the first word with a given state or do you think this will be an easy way to do something else?

Cheers,

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

Reply via email to