Open zakhav opened 9 years ago
detected in version 0.8.11. The problem also occurs in 0.8.13
I tried the insertTextInCursorPosition function and it seems to work as expected, at least in basic case. insertTextInCursorPosition("hello") adds the text hello to the cursor position. Also when calling it multiple times.
Can you tell how exactly does this fail for you?
Current our work with AceEditor when insert text programatically is following:
we have problem that on next invocations of this method text is inserted in wrong position.
Scenario of these steps works well on standard Vaadin TextField component which has same ancestor with AceEditor and almost same API (at least in terms of caret positioning, value set etc)