Changing the editor kit for opened documents
Tilman Giese <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am trying to extend the editor in the way that you can chose the syntax coloring for opened documents. But how do I change the editor kit for a currently open document? Just setting a new kit using setEditorKit() does not seem to solve the problem. Is there any way to change the editor kit or can this only be done by closing and reopening the document with the new editor kit? Thanks in advance for any help, Tilman Giese