Page 1 of 1

Script Highlighting for MatCalc

Posted: Wed Oct 05, 2011 1:51 pm
by delvar
Hello

I'm working right now with a Software called MatCalc.

As is, the software itself has highlighting and auto-finishing. Therefore, i only use Textpad for quick checks. Still i would like to have highlighting to be able to read the code easier.

So far i have managed to add all the words an such, an i only have one last problem:

In MatCalc, we have two ways of starting a comment:

$$ Starts a comment and $$ again closes it.

THIS works.

For single line comments we use $ .

The single line comment tough, is ONLY a comment, if it is the first char in line, or there is an empty space in front of it:

$ comment comment

read-workspace $ comment comment

THIS however is not a comment

FCC_A1$C ... but TextPad highlights the C nonetheless.

Is there a way, to add Space-$ as a comment starter?
Anyone, any ideas?

Greetings
Georg