#include <textedit.h>
Inheritance diagram for ht_undo_data_delete_string:
Public Member Functions | |
ht_undo_data_delete_string (text_viewer_pos *apos, text_viewer_pos *bpos, void *string, UINT len) | |
~ht_undo_data_delete_string () | |
virtual bool | combine (ht_undo_data *ud) |
virtual UINT | getsize () |
virtual void | gettext (char *text, UINT maxlen) |
virtual OBJECT_ID | object_id () const |
virtual void | apply (ht_text_editor *te) |
virtual void | unapply (ht_text_editor *te, bool *goto_only) |
|
Definition at line 172 of file textedit.cc. |
|
Definition at line 185 of file textedit.cc. |
|
Implements ht_undo_data. Definition at line 226 of file textedit.cc. References ht_text_viewer::cursor_pput(), ht_text_editor::delete_chars(), ht_text_viewer::goto_line(), text_viewer_pos::line, and text_viewer_pos::pofs. |
|
Reimplemented from ht_undo_data. Definition at line 190 of file textedit.cc. References apos, bpos, byte, len, text_viewer_pos::line, object_id(), Object::object_id(), text_viewer_pos::pofs, realloc(), string, and string. |
|
Implements ht_undo_data. Definition at line 208 of file textedit.cc. References UINT. |
|
Implements ht_undo_data. Definition at line 213 of file textedit.cc. References bin2str(), buf, ht_snprintf(), text_viewer_pos::line, malloc(), text_viewer_pos::pofs, and UINT. |
|
Reimplemented from Object. Definition at line 221 of file textedit.cc. References ATOM_HT_UNDO_DATA_DELETE. Referenced by combine(). |
|
Implements ht_undo_data. Definition at line 235 of file textedit.cc. References ht_text_viewer::cursor_pput(), ht_text_viewer::cursory, ht_text_viewer::goto_line(), ht_text_editor::insert_chars(), text_viewer_pos::line, ht_text_viewer::physical_cursorx(), text_viewer_pos::pofs, and ht_text_viewer::top_line. |