aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h6
-rw-r--r--include/Scintilla.iface15
2 files changed, 21 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 04d67e78a..61c393324 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -229,7 +229,13 @@ void Scintilla_RegisterClasses(HINSTANCE hInstance);
#define SCI_GETCODEPAGE SCI_START + 137
#define SCI_GETCARETFORE SCI_START + 138
#define SCI_GETUSEPALETTE SCI_START + 139
+
#define SCI_GETREADONLY SCI_START + 140
+#define SCI_SETCURRENTPOS SCI_START + 141
+#define SCI_SETSELECTIONSTART SCI_START + 142
+#define SCI_GETSELECTIONSTART SCI_START + 143
+#define SCI_SETSELECTIONEND SCI_START + 144
+#define SCI_GETSELECTIONEND SCI_START + 145
#define SCI_CALLTIPSHOW SCI_START + 200
#define SCI_CALLTIPCANCEL SCI_START + 201
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)