aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-07-24 12:50:30 +1000
committerNeil <nyamatongwe@gmail.com>2014-07-24 12:50:30 +1000
commit8d53838c4e5fafd24154b33e2d24126e55853ab9 (patch)
treefd8ffb0174df13cee89f3ca3d37285314be86c8d /src/Document.h
parent2042a1d9fc11668f154d69eb8167fcaf299e8a85 (diff)
downloadscintilla-mirror-8d53838c4e5fafd24154b33e2d24126e55853ab9.tar.gz
Mark const methods const.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index b63962086..e84be14e4 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -307,7 +307,7 @@ public:
void TentativeStart() { cb.TentativeStart(); }
void TentativeCommit() { cb.TentativeCommit(); }
void TentativeUndo();
- bool TentativeActive() { return cb.TentativeActive(); }
+ bool TentativeActive() const { return cb.TentativeActive(); }
const char * SCI_METHOD BufferPointer() { return cb.BufferPointer(); }
const char *RangePointer(int position, int rangeLength) { return cb.RangePointer(position, rangeLength); }