aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-04-04 13:36:39 +0000
committernyamatongwe <devnull@localhost>2001-04-04 13:36:39 +0000
commita9318190f7318a86b272f23132126a45c8111dce (patch)
tree402c5ace645cc7865f51d360d1de055628d3967b /include
parent9df8c8413cc4cc2c5c82bbf377e9dc170124a744 (diff)
downloadscintilla-mirror-a9318190f7318a86b272f23132126a45c8111dce.tar.gz
Target API for changing document withot visible changes: SetTargetStart,
SetTargetEnd, and ReplaceTarget.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index cc9eeb593..fa1003ab4 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -277,6 +277,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETOVERTYPE 2187
#define SCI_SETCARETWIDTH 2188
#define SCI_GETCARETWIDTH 2189
+#define SCI_SETTARGETSTART 2190
+#define SCI_SETTARGETEND 2191
+#define SCI_REPLACETARGET 2192
#define SCI_CALLTIPSHOW 2200
#define SCI_CALLTIPCANCEL 2201
#define SCI_CALLTIPACTIVE 2202
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index cb524f185..8fdbdedcc 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -708,6 +708,17 @@ set void SetCaretWidth=2188(int pixelWidth,)
# Returns the width of the insert mode caret
get int GetCaretWidth=2189(,)
+# Sets the position that starts the target which is used for updating the
+# document without affecting the scroll position.
+set void SetTargetStart=2190(position pos,)
+
+# Sets the position that ends the target which is used for updating the
+# document without affecting the scroll position.
+set void SetTargetEnd=2191(position pos,)
+
+# Replace the target text with the argument text.
+fun void ReplaceTarget=2192(, string text)
+
# Show a call tip containing a definition near position pos.
fun void CallTipShow=2200(position pos, string definition)