Anyone have a simple template for creating a new syntax highlighter for a Netbeans Editor?

95 views Asked by At

I'd like to throw together a basic Netbeans editor with syntax highlighting for a non-standard database language.

Initial target: highlight a set of reserved words and standard C multi-line comments.

Anyone savvy with this and could point me to a link, or a template?

One last thing: I've pulled down the Netbeans source tree before and tried to slog my way through it. Ugh. I'm looking more for a plug-in template that could do this, if there is one.

1

There are 1 answers

1
Steen On BEST ANSWER

the netbeans wiki has information on adding support for a new language. Look under point 3). It's a cumbersome process, but fairly straightforward