TextEditor.setText() doesn't work correctly

After text is set, text is not visible (at least in some editors).