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 | 7c24829a955759a2b4005b01e643c96b7c724047 (patch) | |
| tree | 4a6d9c91021eb15e6e11f90fad69c47880027dca /src/Document.h | |
| parent | fe43f7aaab38338a02d1be42e6c7e2e326175243 (diff) | |
| download | scintilla-mirror-7c24829a955759a2b4005b01e643c96b7c724047.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); |
