diff --git a/source/gui/widgets/skeletons/text_editor.cpp b/source/gui/widgets/skeletons/text_editor.cpp index a030471a..5574f9a2 100644 --- a/source/gui/widgets/skeletons/text_editor.cpp +++ b/source/gui/widgets/skeletons/text_editor.cpp @@ -1602,6 +1602,11 @@ namespace nana{ namespace widgets return undo_.max_steps(); } + void text_editor::clear_undo() + { + undo_.clear(); + } + text_editor::ext_renderer_tag& text_editor::ext_renderer() const { return ext_renderer_;