Can code editor class be accessed through gdscript?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Victor Hernandez Can
:warning: Old Version Published before Godot 3 was released.

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. :slight_smile:

:bust_in_silhouette: Reply From: Brice

In my plugin i’m passed by the display list and the types:
EditorPlugin::get_editor_viewport() > ScriptEditor > HSplitContainer > TabContainer
Then TabContainer::get_current_tab_control() and TextEdit.
But if the hierarchy change all is broken.

Even if the hierarchy is changed, it will be an easy fix.

Jatz | 2016-12-01 10:06