aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-05-24 00:04:54 +1000
committernyamatongwe <devnull@localhost>2013-05-24 00:04:54 +1000
commit44da106995e3b3ca4068f584c16f59d8fced4e69 (patch)
tree72512a72ac08ef47a2f40d9b30b0f208a245fda0 /src/CellBuffer.cxx
parent2345e207b44f01e09d8dba69a37b9a67eeefa884 (diff)
downloadscintilla-mirror-44da106995e3b3ca4068f584c16f59d8fced4e69.tar.gz
Made methods const where they can be and are logically const as well.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 769f72464..694260821 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -496,7 +496,7 @@ void CellBuffer::SetSavePoint() {
uh.SetSavePoint();
}
-bool CellBuffer::IsSavePoint() {
+bool CellBuffer::IsSavePoint() const {
return uh.IsSavePoint();
}
@@ -728,7 +728,7 @@ void CellBuffer::DeleteUndoHistory() {
uh.DeleteUndoHistory();
}
-bool CellBuffer::CanUndo() {
+bool CellBuffer::CanUndo() const {
return uh.CanUndo();
}
@@ -750,7 +750,7 @@ void CellBuffer::PerformUndoStep() {
uh.CompletedUndoStep();
}
-bool CellBuffer::CanRedo() {
+bool CellBuffer::CanRedo() const {
return uh.CanRedo();
}