Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::widgets::skeletons::text_editor::undo_input_text Class Reference

Inherits nana::widgets::skeletons::text_editor::basic_undoable< EnumCommand >.

Public Member Functions

 undo_input_text (text_editor &editor, const std::wstring &text)
 
void execute (bool redo) override
 
- Public Member Functions inherited from nana::widgets::skeletons::text_editor::basic_undoable< EnumCommand >
 basic_undoable (text_editor &te, EnumCommand cmd)
 
void set_selected_text ()
 
void set_caret_pos ()
 
- Public Member Functions inherited from nana::widgets::skeletons::undoable_command_interface< EnumCommand >
virtual ~undoable_command_interface ()=default
 
virtual EnumCommand get () const =0
 
virtual bool merge (const undoable_command_interface &)=0
 

Additional Inherited Members

- Protected Member Functions inherited from nana::widgets::skeletons::text_editor::basic_undoable< EnumCommand >
EnumCommand get () const override
 
virtual bool merge (const undoable_command_interface< EnumCommand > &) override
 
- Protected Attributes inherited from nana::widgets::skeletons::text_editor::basic_undoable< EnumCommand >
text_editoreditor_
 
upoint pos_
 
upoint sel_a_
 
upoint sel_b_
 
std::wstring selected_text_
 

Constructor & Destructor Documentation

nana::widgets::skeletons::text_editor::undo_input_text::undo_input_text ( text_editor editor,
const std::wstring text 
)
inline

Member Function Documentation

void nana::widgets::skeletons::text_editor::undo_input_text::execute ( bool  redo)
inlineoverridevirtual