How do I hook in a new syntax file?

Discuss syntax highlighting or submit new syntax files.
Post Reply
clinton_labombard
Posts: 16
Joined: 10 May 2007 02:25
Contact:

How do I hook in a new syntax file?

Post 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.

User avatar
Rickard Johansson
Site Admin
Posts: 6012
Joined: 19 Jul 2006 14:29

Post 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.

Post Reply