Amiga.org

Amiga computer related discussion => Amiga/MorphOS/AROS Programmers Forum => Topic started by: asrael22 on October 22, 2017, 11:20:49 AM

Title: How to build syntax highlighting for GoldED?
Post 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
Title: Re: How to build syntax highlighting for GoldED?
Post by: Wilse on March 13, 2018, 04:12:04 PM
Did you ever get an answer to this?

I'm thinking of investing in a decent editor and this came up in a search.
Title: Re: How to build syntax highlighting for GoldED?
Post by: asrael22 on October 26, 2018, 10:38:35 PM
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
Title: Re: How to build syntax highlighting for GoldED?
Post by: Wilse on November 02, 2018, 03:39:41 PM
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?
Title: Re: How to build syntax highlighting for GoldED?
Post by: asrael22 on February 19, 2019, 07:02:08 PM
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
Title: Re: How to build syntax highlighting for GoldED?
Post by: Wilse on February 19, 2019, 08:12:13 PM
OK, thanks.