fix bug that text_editor throws an exception when undo a backspace
This commit is contained in:
parent
e7b466fad8
commit
ebfa079f3f
@ -2300,6 +2300,8 @@ namespace nana{ namespace widgets
|
||||
}
|
||||
else
|
||||
{
|
||||
undo_ptr->set_removed(this->_m_make_select_string());
|
||||
|
||||
undo_ptr->set_selected_text();
|
||||
points_.caret = _m_erase_select();
|
||||
undo_ptr->set_caret_pos();
|
||||
|
Loading…
x
Reference in New Issue
Block a user