0 votes

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

asked Nov 24, 2016 in Engine by Victor Hernandez Can (76 points)

1 Answer

+1 vote

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.

answered Nov 24, 2016 by Brice (114 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.