add function to get EditorScript text area #6136
JeffVenancius
started this conversation in
Editor
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Lately I was thinking about creating a plugin for the script editor.
Coming from vim, I can see how good it can be to have a code editor that can be customizable to the core, so anyway, I was trying to get the textEdit inside so I could mess with it and I've found pretty difficult.
For those who don't know, to get the textEdit inside the code editor one should get a tabContainer, this tabContainer holds not only textEditors, but a helper (when you're reading docs inside the editor),
Because you need to access it from this tabContainer, you can't use a simple get_node(), instead, you can only get it by get_current_tab_control().
Well, simply put, I think we all could use something like get_text_area() inside the EditorScript class, it would simplify things and it would bring more possiblities for the comunity.
As I've said, I come from vim, so I know how many ways one can customize how you edit text and how it can help you make better code and less mistakes.
Beta Was this translation helpful? Give feedback.
All reactions