aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-05-26 15:15:07 +1000
committernyamatongwe <unknown>2012-05-26 15:15:07 +1000
commit00c771cecda620db28cec9e4c50830f542e3a829 (patch)
treeb14ac398aa30f650cf9c38fd43407d13e32384e8 /include/Scintilla.iface
parent0af9eecdbfe8e8260ef67316e7208e1385715c73 (diff)
downloadscintilla-mirror-00c771cecda620db28cec9e4c50830f542e3a829.tar.gz
Add GetRangePointer and GetGapPosition methods.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index ac496dba3..e133be69d 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1924,6 +1924,15 @@ fun void CopyAllowLine=2519(,)
# characters in the document.
get int GetCharacterPointer=2520(,)
+# Return a read-only pointer to a range of characters in the document.
+# May move the gap so that the range is contiguous, but will only move up
+# to rangeLength bytes.
+get int GetRangePointer=2643(int position, int rangeLength)
+
+# Return a position which, to avoid performance costs, should not be within
+# the range of a call to GetRangePointer.
+get position GetGapPosition=2644(,)
+
# Always interpret keyboard input as Unicode
set void SetKeysUnicode=2521(bool keysUnicode,)