mbien commented on issue #8112: URL: https://github.com/apache/netbeans/issues/8112#issuecomment-2571612885
> Incidentally, the kit lookup in the other views should possibly be via openide.text too? https://bits.netbeans.org/23/javadoc/org-openide-text/org/openide/text/CloneableEditorSupport.html#getEditorKit-java.lang.String- The other previews do something like this `((BaseTextUI) editorPane.getUI()).getExtComponent()` to get the extended editor component (hidden behind utility methods). The editor kit does change fine but I don't think that a plain old `JEditorPane` can morph into the typical NB editor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
