I get a java.lang.Throwable in the intellij log file every time I do this...
If I try to call EditorModificationUtil.insertStringAtCaret from within my EditorFactoryListener.editorCreated method I get a stacktrace in the log. I have even tried SwingUtilities.invokeLater
This is what I get:
It successfully writes my text to the screen, but I get an annoying error dialog box. SO does this mean I can only use calls that write to the editor screen from within special methods?
Please sign in to leave a comment.