aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
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.h
parent5c0fdd9dd3f026927e46488ab198213e81935b80 (diff)
downloadscintilla-mirror-a158742c0231b348b4663b9900e7da95e05cde48.tar.gz
Adding const to methods where possible.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 3381c19c2..93202c9b5 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -170,7 +170,7 @@ public:
const char *DeleteChars(int position, int deleteLength, bool &startSequence);
- bool IsReadOnly();
+ bool IsReadOnly() const;
void SetReadOnly(bool set);
/// The save point is a marker in the undo stack where the container has stated that
@@ -183,7 +183,7 @@ public:
void BasicDeleteChars(int position, int deleteLength);
bool SetUndoCollection(bool collectUndo);
- bool IsCollectingUndo();
+ bool IsCollectingUndo() const;
void BeginUndoAction();
void EndUndoAction();
void AddUndoAction(int token, bool mayCoalesce);