diff options
author | Neil <nyamatongwe@gmail.com> | 2014-10-03 09:37:00 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-10-03 09:37:00 +1000 |
commit | 1a17a409316fab10be74e713c88a828d5bd4c2b7 (patch) | |
tree | 5c85e6d22521a1db252b490cc9e8ef65793f9c27 /src/Document.h | |
parent | 9ed4211f1ff5d13a0a8b9fe301063b603e4f2c8e (diff) | |
download | scintilla-mirror-1a17a409316fab10be74e713c88a828d5bd4c2b7.tar.gz |
CountCharacters can be const so it is now.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 477b4dc60..e808bb37f 100644 --- a/src/Document.h +++ b/src/Document.h @@ -321,7 +321,7 @@ public: int SetLineIndentation(int line, int indent); int GetLineIndentPosition(int line) const; int GetColumn(int position); - int CountCharacters(int startPos, int endPos); + int CountCharacters(int startPos, int endPos) const; int FindColumn(int line, int column); void Indent(bool forwards, int lineBottom, int lineTop); static std::string TransformLineEnds(const char *s, size_t len, int eolModeWanted); |