Add KeyWord to SQLTokenMaker

General Discussion on RSyntaxTextArea.

Moderator: robert

Add KeyWord to SQLTokenMaker

Postby Guest » Wed Feb 29, 2012 5:34 pm

Hi,

my target is to create a PL/SQLTokenMaker (oracle database langauage) which has some keywords like "PROCEDURE".
Is it possible to "reuse" the current SQLTokenMaker and add some new keywords or must I create a complete new TokenMaker?

Many thanks

Martin
Guest
 

Re: Add KeyWord to SQLTokenMaker

Postby robert » Thu Mar 01, 2012 1:53 pm

Hi Martin,

There is currently no way to add keywords to an existing language, though there is a Feature Request for it. I might end up adding this soon since it is a nice trade-off between being able to add and remove keywords from a language (the most robust solution) and what we have today (can't change existing lexers whatsoever without changing the .flex source).
User avatar
robert
 
Posts: 797
Joined: Sat May 10, 2008 5:16 pm


Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron