1 Oct 2006 19:28
Re: How to find keywords?
Josiah Carlson <jcarlson <at> uci.edu>
2006-10-01 17:28:39 GMT
2006-10-01 17:28:39 GMT
You can scan your source character by character, and discover the "state" by GetStyleAt(). This is also in the documentation. - Josiah "Steve Topov" <stopov <at> vive.net> 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? > > > > -----Original Message----- > From: scintilla-interest-bounces <at> lyra.org > [mailto:scintilla-interest-bounces <at> lyra.org] On Behalf Of Steve Topov > Sent: Monday, September 11, 2006 2:07 PM > To: scintilla-interest <at> lyra.org > 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(Continue reading)
RSS Feed