Page 1 of 1

How do I hook in a new syntax file?

Posted: 24 Jun 2007 00:34
by clinton_labombard
I've opened a new file of type .syx, I've entered a few things in the entries given, saved the file where it's supposed to be, but now I can't figure out how to hook it in so when I open a file with appropriate suffix... you get it, right?

The syntax editor is no help at all. It does only what I could have done with the text editor itself. For some reason it isn't adding that syntax to the list of syntaxes you can open, also the example code doesn't show anything has changed. Same colors.

I've attempted to modify TextEd.ini, but any modifications are removed when I reopen the editor.

The .chm help file is also no help at all. No explanation.

Posted: 24 Jun 2007 08:03
by Rickard Johansson
Open the options dialog, go to the "Manage highlighters" page and press "New". This will open a wizard that installs the new syntax file. When done you can set the colors for keywords, strings etc. on the "Highlighters" page.
The .chm help file is also no help at all. No explanation.
I think It's in there. There is a lot information about syntax files in the help, maybe it's just hard to find. I've gotten this question before and I'll try to make the information easier to find.