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?

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Topov
Sent: Monday, September 11, 2006 2:07 PM
To: [email protected]
Subject: [scintilla] How to find keywords?

 

This is third time I am trying to get the answer to this question. Well maybe I will get the answer this time.

 

I need to do a search for keywords. Lets say I defined the list of keywords using SCI_SETKEYWORDS. Now I need to find the first keyword, second and so on. I do not care what keyword it is as long as it is on the list. Is there the simple way to do that? I mean editor already has the ability to find keywords so it must be the question what function to call.

 

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

Reply via email to