For Komodo 3.5.3 there is no way to add language syntax support, however in Komodo 4.0 we have added support for this via our UDL technology. Details on how UDL works are available in the documentation installed with Komodo 4.0.
Thanks for the reply Jeff. Sorry to take so long to get back to this thread.
Well, then, while I'm here, I'd like to request support for Texinfo syntax highlighting in K4.0. Though, I understand that, if it's not there by default, I can come up with something myself using this UDL you mention.
Thinking more about it, Markdown support is actually probably unnecessary since it's designed to be easy on the eyes all by itself without any highlighting. But I'm really surprised to not see Texinfo support built-into 3.5, as it is the official GNU doc standard. I counted 75 other various languages supported (so I see you folks have put in a ton of work to get numerous various formats supported).
Actually, we only put a ton of work in the main languages we support. We get the rest for free because we use the open source Scintilla editor component which already includes many languages by default.
I'd noticed that Geany doesn't have highlighting for Texinfo either, and they also happen to use Scintilla.
Taking a quick peek at Scintilla, it looks like if you want to add support for a given unsupported language you need to actually write a parser in C++ to do it. Wow.
Thanks Eric, but I'm still using Komodo 3.5.3 over here.
If the Komodo 4 docs come with good instructions on working with UDL and Luddite, I'll probably upgrade.
Also, I see that I can install the beta right now if I want... though, I wouldn't want to goof up my current 3.5.3 installation (i.e., my ~/.komodo directory).
The Komodo docs have a comprehensive overview on the Luddite
programming language, but are admittedly weak on the mechanics
of building an extension. I hope to write a tutorial on that
aspect for my blog over the holidays. Stay tuned at http://blogs.activestate.com/ericp
Thanks for the link Eric. Didn't know AS had blogs like that. {bookmarked}. Will keep my eyes open for your tutorial -- hopefully it will make it into the official K4 docs.
For Komodo 3.5.3 there is no way to add language syntax support, however in Komodo 4.0 we have added support for this via our UDL technology. Details on how UDL works are available in the documentation installed with Komodo 4.0.
Thanks for the reply Jeff. Sorry to take so long to get back to this thread.
Well, then, while I'm here, I'd like to request support for Texinfo syntax highlighting in K4.0. Though, I understand that, if it's not there by default, I can come up with something myself using this UDL you mention.
Thinking more about it, Markdown support is actually probably unnecessary since it's designed to be easy on the eyes all by itself without any highlighting. But I'm really surprised to not see Texinfo support built-into 3.5, as it is the official GNU doc standard. I counted 75 other various languages supported (so I see you folks have put in a ton of work to get numerous various formats supported).
Thanks.
Actually, we only put a ton of work in the main languages we support. We get the rest for free because we use the open source Scintilla editor component which already includes many languages by default.
Ah, I see. Thanks Jeff.
I'd noticed that Geany doesn't have highlighting for Texinfo either, and they also happen to use Scintilla.
Taking a quick peek at Scintilla, it looks like if you want to add support for a given unsupported language you need to actually write a parser in C++ to do it. Wow.
In the Komodo4 install directory you'll find a file called "luddite.zip".
Unzip it, and look at the file luddite-mainlex.udl
You can treat if as boilerplate for your file, which should be called
texinfo-mainlex.udl
You'll want lines of text like:
language Texinfo # case is important to work with Komodo
keywords ["top", "majorheading", # other texinfo keywords here...
]
# Define the transitions for characters like \ [ ] @
Thanks Eric, but I'm still using Komodo 3.5.3 over here.
If the Komodo 4 docs come with good instructions on working with UDL and Luddite, I'll probably upgrade.
Also, I see that I can install the beta right now if I want... though, I wouldn't want to goof up my current 3.5.3 installation (i.e., my ~/.komodo directory).
The Komodo docs have a comprehensive overview on the Luddite
programming language, but are admittedly weak on the mechanics
of building an extension. I hope to write a tutorial on that
aspect for my blog over the holidays. Stay tuned at
http://blogs.activestate.com/ericp
Thanks for the link Eric. Didn't know AS had blogs like that. {bookmarked}. Will keep my eyes open for your tutorial -- hopefully it will make it into the official K4 docs.