Support annotations / bracket matching / error highlighting / etc in custom editors

I’ve created a text viewer (right side) which dumps my own language.

If I open it in a separate file everything works well:

  • highlights
  • references highlights
  • custom annotator

But if I open it in my editor only syntax highlights work. I’ve done the same with PHP language and there are no difference between my language and PHP

Any idea what’s going on?

The plugin source: GitHub - xepozz/php-dump-plugin: Intellij IDEA Plugin Exposes PHP internal stuctures

Editor setup: php-dump-plugin/src/main/kotlin/com/github/xepozz/php_dump/panel/OpcodesTerminalPanel.kt at eddf2cec8cc1edda3a0d6d8864c8c9c47d19234e · xepozz/php-dump-plugin · GitHub

@yann.cebron @jakub.chrzanowski hey guys anyone can help me?

Please do not push people, we read every topic anyway