diff options
author | nyamatongwe <devnull@localhost> | 2010-03-13 21:22:03 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-03-13 21:22:03 +0000 |
commit | a158742c0231b348b4663b9900e7da95e05cde48 (patch) | |
tree | a506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/CellBuffer.h | |
parent | 5c0fdd9dd3f026927e46488ab198213e81935b80 (diff) | |
download | scintilla-mirror-a158742c0231b348b4663b9900e7da95e05cde48.tar.gz |
Adding const to methods where possible.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 4 |
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); |