From 8e6ddfd4ed7a72190796d138557ad3eb5da7b0db Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 20 Aug 2013 14:57:56 +1000 Subject: Added PositionRelative to optimize navigation by character. --- include/Scintilla.iface | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/Scintilla.iface') 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) -- cgit v1.2.3