Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
GuiTextEditAction Class Reference
Inheritance diagram for GuiTextEditAction:
GuiTextEditActionInsertLine GuiTextEditActionInsertText GuiTextEditActionRemoveLine GuiTextEditActionRemoveText GuiTextEditActionSetCursorPosition GuiTextEditActionSetLine

Public Types

enum  Type {
  TYPE_NONE,
  TYPE_REMOVE_TEXT,
  TYPE_INSERT_TEXT,
  TYPE_SET_LINE,
  TYPE_INSERT_LINE,
  TYPE_REMOVE_LINE,
  TYPE_SET_CURSOR
}
 

Public Member Functions

 GuiTextEditAction (const int &line_index)
 
virtual Type get_type () const
 
virtual void do_action (CoreList< CoreString > &text_lines, CoreList< GuiTextEditLineInfo > &line_info, int &cursor_line_index, int &cursor_text_index)
 
virtual void undo_action (CoreList< CoreString > &text_lines, CoreList< GuiTextEditLineInfo > &line_info, int &cursor_line_index, int &cursor_text_index)
 

Static Public Member Functions

static CoreString get_action_name (const Type &type)
 

Protected Attributes

int m_line_index