I am currently trying out Komodo to see if I want to make the change from my PE of choice to KomodoIDE.
I have a scenario where a language I frequently use is remarkably similar to the FlagShip lexar that is included in Komodo. However, the keyword groupings that the dev used in it’s design does not fit my direct needs and more keywords need to be added for my use.
Is it possible for me to either a) modify that lexar or b) create a new lexar using the flagship lexar as a base?
Any help will be greatly appreciated during this trial period.
It’s definitely possible, but I’m not the right person to explain this - @toddw or @ericp when you guys have a moment could you explain the basics or link to some relevant examples?
To answer the original question: unfortunately, I don’t believe that can be reused; the FlagShip lexer comes from Scintilla and is written in C++. That means it’s baked in and you can’t really change it from a shipped Komodo release.
@toddw, I appreciate the helpful links. I looked in the video and also on the linked page for the documentation you provided but I can not find how to turn the keywords into case insensitive. Can you provide any guidance on that front?
Also, I can not find any way to add a new keyword set for a new color set. For example so I could have “keywords” “internal functions” and “external functions”.
Looking to build a syntax highlighter for TOML, … and it looks like the video and documentation from v9 are no longer available, … where would current docs be located?
Sorry those links are borked. I think your best bet is to follow this blow post from one of the previous devs:
It is old but it should still apply to how things are structured in Komodo. Use it to get an idea of how things are laid out then you should be able to adapt an existing implementation to handle TOML.