CodeHighlighter's set_text_edit Inaccessible Through GDExtension #9974
Pspritechologist
started this conversation in
Scripting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As best as I can tell, current
EditorSyntaxHighlighter
s pretty much all effectively wrapCodeHighlighter
s internally, simply callingset_text_edit
on them with theTextEdit
in question to get accurate information. This method doesn't appear to be exposed to either GDScript or GDExtension, making creating additional editor highlighters using them seemingly impossible. This means any extension wanting to implement a new highlighter needs to implement all the functionality from scratch.I think it would be beneficial to see this method exposed.
I apologize if there's another way to achieve this, I wasn't able to find one myself.
Beta Was this translation helpful? Give feedback.
All reactions