Problems Highlighting in custom EditorTextField
Answered
Hi, I have a plugin with my own new language, I created and registered annotator for it, and it works fine in editors managed by the FileEditorManager.
But when I have my own EditorTextField, the syntax highlighting works, the annotator works as well, because I can see the produced gutter icons. But, the highlighting of the problems on the right side by the vertical scroller (the inspections) are not visible/available. How do I turn them ON?
Thanks,
Milo
Please sign in to leave a comment.
Hi Milo,
Please try:
Hi Karol,
great, thx, that helped, you just need to cast the MarkupModel to EditorMarkupModel: