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