aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-11-16 10:43:52 +1100
committernyamatongwe <devnull@localhost>2011-11-16 10:43:52 +1100
commit445cc61d3c5dead15aeca9c363ccbbe57018d744 (patch)
tree47688bbd73047e85901aec3b576383b621c6ecc8 /src/Document.h
parent1def08bb984e864f4d34064bdb38db2e47e7bd86 (diff)
downloadscintilla-mirror-445cc61d3c5dead15aeca9c363ccbbe57018d744.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.h1
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);