From df5ce072324524279a3561437113200a0d9ea1dc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 4 Dec 2011 11:00:23 +1100 Subject: Document SCI_COUNTCHARACTERS. --- doc/ScintillaDoc.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index bbae413a4..913316228 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -79,7 +79,7 @@

Scintilla Documentation

-

Last edited 1/August/2011 NH

+

Last edited 4/December/2011 NH

There is an overview of the internal design of Scintilla.
@@ -1113,6 +1113,7 @@ struct Sci_TextToFind { onlyWordCharacters)
SCI_POSITIONBEFORE(int position)
SCI_POSITIONAFTER(int position)
+ SCI_COUNTCHARACTERS(int startPos, int endPos)
SCI_TEXTWIDTH(int styleNumber, const char *text)
SCI_TEXTHEIGHT(int line)
SCI_CHOOSECARETX
@@ -1414,6 +1415,9 @@ struct Sci_TextToFind { If called with a position within a multi byte character will return the position of the start/end of that character.

+

SCI_COUNTCHARACTERS(int startPos, int endPos)
+ Returns the number of whole characters between two positions..

+

SCI_TEXTWIDTH(int styleNumber, const char *text)
This returns the pixel width of a string drawn in the given styleNumber which can be used, for example, to decide how wide to make the line number margin in order to display a -- cgit v1.2.3