aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 6fe698e13..45613bfa0 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -191,7 +191,7 @@ public:
/// The save point is a marker in the undo stack where the container has stated that
/// the buffer was saved. Undo and redo can move over the save point.
void SetSavePoint();
- bool IsSavePoint();
+ bool IsSavePoint() const;
bool SetUndoCollection(bool collectUndo);
bool IsCollectingUndo() const;
@@ -202,11 +202,11 @@ public:
/// To perform an undo, StartUndo is called to retrieve the number of steps, then UndoStep is
/// called that many times. Similarly for redo.
- bool CanUndo();
+ bool CanUndo() const;
int StartUndo();
const Action &GetUndoStep() const;
void PerformUndoStep();
- bool CanRedo();
+ bool CanRedo() const;
int StartRedo();
const Action &GetRedoStep() const;
void PerformRedoStep();