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 /include/Scintilla.iface | |
| parent | d56cc851daf142c43499ede308ac741ec3294d04 (diff) | |
| download | scintilla-mirror-8e6ddfd4ed7a72190796d138557ad3eb5da7b0db.tar.gz | |
Added PositionRelative to optimize navigation by character.
Diffstat (limited to 'include/Scintilla.iface')
| -rw-r--r-- | include/Scintilla.iface | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index f7880a035..7909f2084 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1756,6 +1756,10 @@ fun position PositionBefore=2417(position pos,) # page into account. Maximum value returned is the last position in the document. fun position PositionAfter=2418(position pos,) +# Given a valid document position, return a position that differs in a number +# of characters. Returned value is always between 0 and last position in document. +fun position PositionRelative=2670(position pos, int relative) + # Copy a range of text to the clipboard. Positions are clipped into the document. fun void CopyRange=2419(position start, position end) |
