diff options
author | Neil <nyamatongwe@gmail.com> | 2013-08-20 14:57:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-08-20 14:57:56 +1000 |
commit | 70acfa623be189df50b42a7402085e782341fec2 (patch) | |
tree | 609f95d4dc215476e240d62bf4ef5b0a12ec0fe4 /doc/ScintillaDoc.html | |
parent | e88c427ffcf8731edf9dc0957c28c3e0ec78bda5 (diff) | |
download | scintilla-mirror-70acfa623be189df50b42a7402085e782341fec2.tar.gz |
Added PositionRelative to optimize navigation by character.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 57550bfe6..cca207dae 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1161,6 +1161,7 @@ struct Sci_TextToFind { onlyWordCharacters)</a><br /> <a class="message" href="#SCI_POSITIONBEFORE">SCI_POSITIONBEFORE(int position)</a><br /> <a class="message" href="#SCI_POSITIONAFTER">SCI_POSITIONAFTER(int position)</a><br /> + <a class="message" href="#SCI_POSITIONRELATIVE">SCI_POSITIONRELATIVE(int position, int relative)</a><br /> <a class="message" href="#SCI_COUNTCHARACTERS">SCI_COUNTCHARACTERS(int startPos, int endPos)</a><br /> <a class="message" href="#SCI_TEXTWIDTH">SCI_TEXTWIDTH(int styleNumber, const char *text)</a><br /> <a class="message" href="#SCI_TEXTHEIGHT">SCI_TEXTHEIGHT(int line)</a><br /> @@ -1466,6 +1467,11 @@ struct Sci_TextToFind { If called with a position within a multi byte character will return the position of the start/end of that character.</p> + <p><b id="SCI_POSITIONRELATIVE">SCI_POSITIONRELATIVE(int position, int relative)</b><br /> + Count a number of whole characters before or after the argument position and return that position. + The minimum position returned is 0 and the maximum is the last position in the document. + </p> + <p><b id="SCI_COUNTCHARACTERS">SCI_COUNTCHARACTERS(int startPos, int endPos)</b><br /> Returns the number of whole characters between two positions..</p> |