If you call
styleClassedTextArea.clear()
styleClassedTextArea.insertText(0, text)
It won't work, as in, if there is text in the text area, the insert() won't register. If the text area is empty, then the insert() will work. It works in that pattern, so you can probably reproduce it easily. I've been getting around it by using replaceText(), as it doesn't seem to have the problem.
If you call
It won't work, as in, if there is text in the text area, the insert() won't register. If the text area is empty, then the insert() will work. It works in that pattern, so you can probably reproduce it easily. I've been getting around it by using replaceText(), as it doesn't seem to have the problem.