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 | 8e6ddfd4ed7a72190796d138557ad3eb5da7b0db (patch) | |
| tree | 81cf58c90f2b00769277afbe15469d96265b6840 /doc/ScintillaDoc.html | |
| parent | d56cc851daf142c43499ede308ac741ec3294d04 (diff) | |
| download | scintilla-mirror-8e6ddfd4ed7a72190796d138557ad3eb5da7b0db.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> |
