Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Adding c extensions - AbstractCLanguage etc

Hi,

 

I’m trying to add a few new keywords for our C-based language but I’d like to re-use the CEditor. This looks like a simple case of extending AbstractCLanguage and using custom parser and scanner configurations, then associating this new language with the csource content type. This doesn’t appear to work as the new keywords are not being highlighted, and I noticed that CEditor uses CTextTools which uses a hard reference to GCCLanguage? Will I have to create a new editor if I wish to add new keywords?

 

Thanks for any help,

Mike W


Back to the top