aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-03-13 21:22:03 +0000
committernyamatongwe <devnull@localhost>2010-03-13 21:22:03 +0000
commita158742c0231b348b4663b9900e7da95e05cde48 (patch)
treea506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/CellBuffer.cxx
parent5c0fdd9dd3f026927e46488ab198213e81935b80 (diff)
downloadscintilla-mirror-a158742c0231b348b4663b9900e7da95e05cde48.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;
}