From d54dd98c5183dd6d38e9556ce1e8dd45670a5c39 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 24 Jun 2000 00:35:46 +0000 Subject: Added methods for getting and setting the start and end of the selection. --- include/Scintilla.iface | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d2195d3ef..36828e68e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -481,6 +481,21 @@ get bool GetUsePalette=2139(,) # In read-only mode? get bool GetReadOnly=2140(,) +# Sets the position of the caret. +set void SetCurrentPos=2141(position pos,) + +# Sets the position that starts the selection - this becomes the anchor. +set void SetSelectionStart=2142(position pos,) + +# Returns the position at the start of the selection. +get position GetSelectionStart=2143(,) + +# Sets the position that ends the selection - this becomes the currentPosition. +set void SetSelectionEnd=2144(position pos,) + +# Returns the position at the end of the selection. +get position GetSelectionEnd=2145(,) + # Show a call tip containing a definition near position pos. fun void CallTipShow=2200(position pos, string definition) -- cgit v1.2.3