A data structure that holds information needed to reverse a change to the file. More...

Public Types | |
| enum | ActionToTake { replace_line, insert_line, erase_line, join_lines, insert_block, delete_block, replace_block, break_lines, nested_undo_ops, last_code } |
| typedef std::list < UndoOperation * > | undo_stack |
Public Member Functions | |
| void | operator delete (void *p) |
Static Public Member Functions | |
| static UndoOperation * | make_new () |
Public Attributes | |
| std::list< std::string > | block_ |
| int | code_ |
| int | count_ |
| int | lineno_ |
| int | nested_first_mark_ |
| int | nested_last_mark_ |
| undo_stack * | nested_undo_stack_ |
| std::string | text_ |
Private Member Functions | |
| void * | operator new (size_t t) |
| prevent accidental abuse of the undo logic -- you are supposed to use Impl::push_undo_stack() | |
A data structure that holds information needed to reverse a change to the file.
Definition at line 392 of file texteditor.cxx.
| typedef std::list<UndoOperation*> undo_stack |
Definition at line 424 of file texteditor.cxx.
| enum ActionToTake |
| replace_line | |
| insert_line | |
| erase_line | |
| join_lines | |
| insert_block | |
| delete_block | |
| replace_block | |
| break_lines | |
| nested_undo_ops | |
| last_code |
Definition at line 396 of file texteditor.cxx.
| static UndoOperation* make_new | ( | ) | [static] |
| void operator delete | ( | void * | p | ) |
Definition at line 442 of file texteditor.cxx.
| void* operator new | ( | size_t | t | ) | [private] |
prevent accidental abuse of the undo logic -- you are supposed to use Impl::push_undo_stack()
Definition at line 433 of file texteditor.cxx.
| std::list<std::string> block_ |
Definition at line 421 of file texteditor.cxx.
| int code_ |
Definition at line 414 of file texteditor.cxx.
| int count_ |
Definition at line 415 of file texteditor.cxx.
| int lineno_ |
Definition at line 419 of file texteditor.cxx.
Definition at line 428 of file texteditor.cxx.
Definition at line 429 of file texteditor.cxx.
Definition at line 426 of file texteditor.cxx.
| std::string text_ |
Definition at line 417 of file texteditor.cxx.
1.6.3