Welcome, Guest. Please login or register.

Author Topic: How to build syntax highlighting for GoldED?  (Read 6981 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 70
    • Show only replies by asrael22
How to build syntax highlighting for GoldED?
« 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
 

Offline Wilse

Re: How to build syntax highlighting for GoldED?
« Reply #1 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.

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 70
    • Show only replies by asrael22
Re: How to build syntax highlighting for GoldED?
« Reply #2 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
 

Offline Wilse

Re: How to build syntax highlighting for GoldED?
« Reply #3 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?

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 70
    • Show only replies by asrael22
Re: How to build syntax highlighting for GoldED?
« Reply #4 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
 

Offline Wilse

Re: How to build syntax highlighting for GoldED?
« Reply #5 on: February 19, 2019, 08:12:13 PM »
OK, thanks.