[Lazarus] Tab/Page controls and popup menus

Brad Campbell brad at wasp.net.au
Wed Oct 8 19:10:38 CEST 2008


On Wed, Oct 8, 2008 at 22:06, Mattias Gärtner <nc-gaertnma at netcologne.de> 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 ;-)
Here is simplified patch, which ignores context-sensitive modifiers for now.
Reserved word lists taken from FPC Reference Guide.

-- 
Alexander S. Klenin
Insight Experts Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synpas_is_keyword.patch
Type: application/octet-stream
Size: 3408 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081009/69566b6d/attachment-0007.obj>


More information about the Lazarus mailing list