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

Public Member Functions

 GuiTextEditActionInsertText (const int &line_index, const int &cursor_position, const CoreString &text)
 
Type get_type () const
 
void do_action (CoreList< CoreString > &text_lines, CoreList< GuiTextEditLineInfo > &line_info, int &cursor_line_index, int &cursor_text_index)
 
void undo_action (CoreList< CoreString > &text_lines, CoreList< GuiTextEditLineInfo > &line_info, int &cursor_line_index, int &cursor_text_index)
 
- Public Member Functions inherited from GuiTextEditAction
 GuiTextEditAction (const int &line_index)
 

Protected Attributes

CoreString m_text
 
int m_cursor_position
 
- Protected Attributes inherited from GuiTextEditAction
int m_line_index
 

Additional Inherited Members

- Public Types inherited from GuiTextEditAction
enum  Type {
  TYPE_NONE,
  TYPE_REMOVE_TEXT,
  TYPE_INSERT_TEXT,
  TYPE_SET_LINE,
  TYPE_INSERT_LINE,
  TYPE_REMOVE_LINE,
  TYPE_SET_CURSOR
}
 
- Static Public Member Functions inherited from GuiTextEditAction
static CoreString get_action_name (const Type &type)