Is it possible to have an Editor that shows on-the-fly error highlighting without putting
it into a Dialog(Wrapper), i.e. in a ToolWindow? I can successfully embed one into a
dialog, but inside a ToolWindow it just doesn't do any highlighting except for basic syntax.
The editor is an EditorTextField with a document that refers to a PsiCodeFragment instance
obtained by PsiElementFactory.createCodeBlockCodeFragment("java code", context, true);
Is there a reason and maybe a workaround for the missing error highlighting in tool windows?