wxMaxima
Data Structures | Public Types | Public Member Functions
EditorCell::History Class Reference

The undo history of this cell. More...

#include <EditorCell.h>

Data Structures

class  HistoryEntry
 How an entry to the undo history looks like. More...
 

Public Types

enum  Action : uintptr_t { any = 0 , removeChar = 1 , addChar = 2 }
 

Public Member Functions

bool AddState (HistoryEntry entry, Action action=any)
 
bool AddState (const wxString &text, long long selStart, long long selEnd, Action action=any)
 
bool Undo ()
 
bool Redo ()
 
bool CanUndo () const
 
bool CanRedo () const
 
void ClearUndoBuffer ()
 
HistoryEntry GetState () const
 

Detailed Description

The undo history of this cell.


The documentation for this class was generated from the following files: