Amiga.org
Amiga computer related discussion => Amiga/MorphOS/AROS Programmers Forum => Topic started by: asrael22 on October 22, 2017, 11:20:49 AM
-
Hi.
It seems there is not much documentation available for this topic.
I'm wondering how to build custom syntax highlighting for GoldED/Cubic IDE?
I've looked over some of the plugins like C/C++, Basic, Rexx, etc. but I can't make much sense of it.
There seem to exist multiple ways to create a syntax highlighting.
One seems to be a compiled binary which acts as the syntax parser.
A second one seems to use a generic parser and must be fed with keywords.
But it's incredibly intransparent to sort out how this all works.
Any advice?
Manfred
-
Did you ever get an answer to this?
I'm thinking of investing in a decent editor and this came up in a search.
-
It's possible to create custom syntax highlighting configurations using the generic parser (part of the Cubic package) and adding some dictionary files for keywords and such.
I've managed to create syntax highlighting for Pascal.
Manfred
-
It's possible to create custom syntax highlighting configurations using the generic parser (part of the Cubic package) and adding some dictionary files for keywords and such.
I've managed to create syntax highlighting for Pascal.
Thanks for the reply.
Is there any documentation on the steps to do it?
-
Not really.
You can look at the CubicIDE-Pascal-Plugin-0.1.0, which I have uploaded to Aminet.
It used the generic parser with dictionaries.
Manfred
-
OK, thanks.