#include <textedit.h>
Inheritance diagram for ht_text_editor_undo:
Public Member Functions | |
void | init (UINT max_undo_size) |
void | insert_undo (ht_text_editor *te, ht_undo_data *undo) |
bool | is_clean () |
bool | is_clean (int i) |
int | get_current_position () |
void | mark_clean () |
void | undo (ht_text_editor *te, bool place_cursor_first) |
void | redo (ht_text_editor *te) |
Public Attributes | |
UINT | size |
UINT | max_size |
int | clean_state |
int | current_position |
bool | goto_state |
|
Definition at line 852 of file textedit.cc. References current_position. Referenced by ht_text_editor::show_protocol(). |
|
Definition at line 842 of file textedit.cc. References clean_state, current_position, goto_state, Object::init(), max_size, size, and UINT. Referenced by ht_text_editor::init(). |
|
Definition at line 857 of file textedit.cc. References ht_clist::append(), ht_undo_data::apply(), assert, clean_state, ht_undo_data::combine(), current_position, ht_clist::del(), ht_clist::get(), ht_undo_data::getsize(), goto_state, is_clean(), max_size, size, and UINT. Referenced by ht_text_editor::textoperation_apply(). |
|
Definition at line 915 of file textedit.cc. References clean_state. |
|
Definition at line 910 of file textedit.cc. References clean_state, and current_position. Referenced by insert_undo(), ht_text_editor::redo(), ht_text_editor::show_protocol(), and ht_text_editor::undo(). |
|
Definition at line 904 of file textedit.cc. References clean_state, current_position, and goto_state. Referenced by ht_text_editor::func(), and ht_text_editor::save(). |
|
Definition at line 920 of file textedit.cc. References ht_undo_data::apply(), current_position, ht_clist::get(), and goto_state. Referenced by ht_text_editor::redo(). |
|
Definition at line 930 of file textedit.cc. References current_position, ht_clist::get(), goto_state, and ht_undo_data::unapply(). Referenced by ht_text_editor::undo(). |
|
Definition at line 233 of file textedit.h. Referenced by init(), insert_undo(), is_clean(), and mark_clean(). |
|
Definition at line 234 of file textedit.h. Referenced by get_current_position(), init(), insert_undo(), is_clean(), mark_clean(), redo(), and undo(). |
|
Definition at line 235 of file textedit.h. Referenced by init(), insert_undo(), mark_clean(), redo(), and undo(). |
|
Definition at line 232 of file textedit.h. Referenced by init(), and insert_undo(). |
|
Definition at line 232 of file textedit.h. Referenced by init(), and insert_undo(). |