What is the correct method to overwrite text (for completions, snippets, electric braces, or other forms of automatic code writing) in a mixins.CodeEditor
without access to mixins.CodeEditor.TextBox.controller
? I see the code editor using the controller
field to apply code suggestions and indentation, but the field isn't exported and doesn't have any getters, so far as I can see. I suppose I can use SetText
, but that seems overkill.
On a similar note, how bad an idea would it be to export access to that controller
field? I find myself wanting access to it more and more as I go on; but that may just mean that I should be implementing my own gxui.CodeEditor
without using the mixins.
gh-pages
branch which is what gxui.io points to. Perhaps that is the most sensible place for them