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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.