Modified the implementation so that nana:⌨️:os_del is sent throght the set_accept function, so that os_del can be blocked.

Added overload to selected to get the selection bounds.
This commit is contained in:
PeterAddy960 2016-10-28 00:10:11 -05:00
parent ea1edb5a4a
commit 78c3527f10

View File

@ -1602,6 +1602,11 @@ namespace nana{ namespace widgets
return undo_.max_steps(); return undo_.max_steps();
} }
void text_editor::clear_undo()
{
undo_.clear();
}
text_editor::ext_renderer_tag& text_editor::ext_renderer() const text_editor::ext_renderer_tag& text_editor::ext_renderer() const
{ {
return ext_renderer_; return ext_renderer_;