aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
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.h
parent0f626757c6c63c22943ad7e86650b9ad8787584f (diff)
downloadscintilla-mirror-1b2967ee84232e3053eb6d7299f11982b91d6d81.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);