Skip to content

StyleClassedTextArea: clear(), then insertText(), doesn't work consistently #762

@SkyAphid

Description

@SkyAphid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions