DevFaqSyntaxColoring
Can I add syntax coloring for my own data object/MIME type?
Yes, but it is not trivial. There is a tutorial on the subject:
http://platform.netbeans.org/tutorials/nbm-mfsyntax_migrate_lexer.html
The document is in fact a migration guide from an original way of implementing of the syntax coloring:
http://platform.netbeans.org/tutorials/nbm-mfsyntax.html
Applies to: NetBeans 5.0