aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-03-13 21:22:03 +0000
committernyamatongwe <unknown>2010-03-13 21:22:03 +0000
commit1b2967ee84232e3053eb6d7299f11982b91d6d81 (patch)
treea506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/CellBuffer.cxx
parent0f626757c6c63c22943ad7e86650b9ad8787584f (diff)
downloadscintilla-mirror-1b2967ee84232e3053eb6d7299f11982b91d6d81.tar.gz
Adding const to methods where possible.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index ac327dfad..de499ad68 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -455,7 +455,7 @@ int CellBuffer::LineStart(int line) const {
return lv.LineStart(line);
}
-bool CellBuffer::IsReadOnly() {
+bool CellBuffer::IsReadOnly() const {
return readOnly;
}
@@ -586,7 +586,7 @@ bool CellBuffer::SetUndoCollection(bool collectUndo) {
return collectingUndo;
}
-bool CellBuffer::IsCollectingUndo() {
+bool CellBuffer::IsCollectingUndo() const {
return collectingUndo;
}