Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_undo_data Class Reference

#include <textedit.h>

Inheritance diagram for ht_undo_data:

Object ht_undo_data_delete_block ht_undo_data_delete_string ht_undo_data_delete_string2 ht_undo_data_insert_block ht_undo_data_insert_string ht_undo_data_join_line ht_undo_data_overwrite_string ht_undo_data_split_line List of all members.

Public Member Functions

 ht_undo_data ()
virtual bool combine (ht_undo_data *ud)
virtual UINT getsize ()=0
virtual void gettext (char *text, UINT maxlen)=0
virtual void apply (ht_text_editor *te)=0
virtual void unapply (ht_text_editor *te, bool *goto_only)=0

Constructor & Destructor Documentation

ht_undo_data::ht_undo_data (   ) 
 

Definition at line 159 of file textedit.cc.


Member Function Documentation

virtual void ht_undo_data::apply (  ht_text_editor *  te  )  [pure virtual]
 

Implemented in ht_undo_data_delete_string, ht_undo_data_delete_string2, ht_undo_data_insert_string, ht_undo_data_overwrite_string, ht_undo_data_split_line, ht_undo_data_join_line, ht_undo_data_insert_block, and ht_undo_data_delete_block.

Referenced by ht_text_editor_undo::insert_undo(), ht_text_editor_undo::redo(), and ht_text_editor::textoperation_apply().

bool ht_undo_data::combine (  ht_undo_data *  ud  )  [virtual]
 

Reimplemented in ht_undo_data_delete_string, ht_undo_data_delete_string2, ht_undo_data_insert_string, and ht_undo_data_overwrite_string.

Definition at line 163 of file textedit.cc.

Referenced by ht_text_editor_undo::insert_undo().

virtual UINT ht_undo_data::getsize (   )  [pure virtual]
 

Implemented in ht_undo_data_delete_string, ht_undo_data_delete_string2, ht_undo_data_insert_string, ht_undo_data_overwrite_string, ht_undo_data_split_line, ht_undo_data_join_line, ht_undo_data_insert_block, and ht_undo_data_delete_block.

Referenced by ht_text_editor_undo::insert_undo().

virtual void ht_undo_data::gettext (  char *  text,
UINT  maxlen
)  [pure virtual]
 

Implemented in ht_undo_data_delete_string, ht_undo_data_delete_string2, ht_undo_data_insert_string, ht_undo_data_overwrite_string, ht_undo_data_split_line, ht_undo_data_join_line, ht_undo_data_insert_block, and ht_undo_data_delete_block.

virtual void ht_undo_data::unapply (  ht_text_editor *  te,
bool *  goto_only
)  [pure virtual]
 

Implemented in ht_undo_data_delete_string, ht_undo_data_delete_string2, ht_undo_data_insert_string, ht_undo_data_overwrite_string, ht_undo_data_split_line, ht_undo_data_join_line, ht_undo_data_insert_block, and ht_undo_data_delete_block.

Referenced by ht_text_editor_undo::undo().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:05 2004 by doxygen 1.3.5