aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-01-13 01:10:10 +0000
committernyamatongwe <devnull@localhost>2002-01-13 01:10:10 +0000
commit7b0c5a98abfcd122f2f88d55b3c1b09391a1af8a (patch)
tree7a1bd0b59cc23e517090aed5a2616b4f0a2126ed /include
parent3b8295dbe789457385284beafd3e8bd36359895a (diff)
downloadscintilla-mirror-7b0c5a98abfcd122f2f88d55b3c1b09391a1af8a.tar.gz
Added option to autocompletion AutoCSetDropRestOfWord which removes any
word characters following an insertion made by auto-completion. Bundled the changes made by an autocompletion into one undo action.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 246301578..543edeaf1 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -225,6 +225,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_USERLISTSHOW 2117
#define SCI_AUTOCSETAUTOHIDE 2118
#define SCI_AUTOCGETAUTOHIDE 2119
+#define SCI_AUTOCSETDROPRESTOFWORD 2270
+#define SCI_AUTOCGETDROPRESTOFWORD 2271
#define SCI_SETINDENT 2122
#define SCI_GETINDENT 2123
#define SCI_SETUSETABS 2124
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 2f9de7d5a..a74f69075 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -540,6 +540,12 @@ set void AutoCSetAutoHide=2118(bool autoHide,)
# Retrieve whether or not autocompletion is hidden automatically when nothing matches
get bool AutoCGetAutoHide=2119(,)
+# Set whether or not autocompletion deletes any word characters after the inserted text upon completion
+set void AutoCSetDropRestOfWord=2270(bool dropRestOfWord,)
+
+# Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion
+get bool AutoCGetDropRestOfWord=2271(,)
+
# Set the number of spaces used for one level of indentation.
set void SetIndent=2122(int indentSize,)