Zitat von Alexander Klenin <[EMAIL PROTECTED]>:

> On Wed, Oct 8, 2008 at 22:06, Mattias Gärtner <[EMAIL PROTECTED]>
> wrote:
>
> >> So my question is -- how do I reuse them to create IsKeyword function?
> >> Or is it better to just create a separate keyword list, similar to
> >> e.g. SynHighlighterPython?
>
> > Some words like 'end' depends on the context, if they are a keyword or an
> > identifier.
> > Please define IsKeyword.
>
> Hm. This does not answer my question, so I suppose I have to decide myself
> ;-)

This was the answer to your question. ;)

> Here is simplified patch, which ignores context-sensitive modifiers for now.
> Reserved word lists taken from FPC Reference Guide.

Thanks. I added it with a small comment.

Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to