I was thinking on writing a snippet plugin for the code editor but I can't seem to find the class. To be sure, the only way is through source code? Thanks in advance. :-)
In my plugin i'm passed by the display list and the types:
EditorPlugin::geteditorviewport() > ScriptEditor > HSplitContainer > TabContainer
Then TabContainer::getcurrenttab_control() and TextEdit.
But if the hierarchy change all is broken.
Even if the hierarchy is changed, it will be an easy fix.