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_move_text Class Reference

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

Public Member Functions

 undo_move_text (text_editor &editor)
 
void execute (bool redo) override
 
void set_destination (const nana::upoint &dest_a, const nana::upoint &dest_b)
 
- 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_move_text::undo_move_text ( text_editor editor)
inline

Member Function Documentation

void nana::widgets::skeletons::text_editor::undo_move_text::execute ( bool  redo)
inlineoverridevirtual
void nana::widgets::skeletons::text_editor::undo_move_text::set_destination ( const nana::upoint dest_a,
const nana::upoint dest_b 
)
inline