fix bug that text_editor throws an exception when undo a backspace

This commit is contained in:
Jinhao 2016-08-11 02:15:19 +08:00
parent e7b466fad8
commit ebfa079f3f

View File

@ -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();