fix textbox caret_pos issue

This commit is contained in:
Jinhao
2016-08-27 05:23:25 +08:00
parent 1fd0da7d79
commit b13f0a4ce5
3 changed files with 10 additions and 3 deletions

View File

@@ -345,7 +345,7 @@ namespace drawerbase {
auto editor = get_drawer_trigger().editor();
internal_scope_guard lock;
if (editor)
editor->move_caret(pos);
editor->move_caret(pos, true);
return *this;
}