When setting empty string on ofxUITextInput: setTextString(""); (auto clear disabled) followed by clicking on the same ofxUITextInput and entering new text triggers std::out_of_range: basic_string::insert. The problem is that cursorPosition doesn't get reseted to 0.
Setting cursorPositon = 0 in void ofxUITextInput::setTextString(string s) resolves that issue.
When setting empty string on ofxUITextInput: setTextString(""); (auto clear disabled) followed by clicking on the same ofxUITextInput and entering new text triggers std::out_of_range: basic_string::insert. The problem is that cursorPosition doesn't get reseted to 0.
Setting cursorPositon = 0 in void ofxUITextInput::setTextString(string s) resolves that issue.