diff options
author | nyamatongwe <unknown> | 2011-11-16 10:43:52 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-11-16 10:43:52 +1100 |
commit | 706467b15ad45ab2653733eff7e3afdf3486b251 (patch) | |
tree | 24d4c42b2a7f475a04965623cea030c73c4d88e2 /src/Document.h | |
parent | ad331d1977908f0b034c4bd9ab6d039a32ff0f50 (diff) | |
download | scintilla-mirror-706467b15ad45ab2653733eff7e3afdf3486b251.tar.gz |
Bug #3283519. CountCharacters added to count the number of
characters between two positions. From Andrey Moskalyov.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index bd8a58274..ec41603eb 100644 --- a/src/Document.h +++ b/src/Document.h @@ -303,6 +303,7 @@ public: void SetLineIndentation(int line, int indent); int GetLineIndentPosition(int line) const; int GetColumn(int position); + int CountCharacters(int startPos, int endPos); int FindColumn(int line, int column); void Indent(bool forwards, int lineBottom, int lineTop); static char *TransformLineEnds(int *pLenOut, const char *s, size_t len, int eolModeWanted); |