diff options
author | nyamatongwe <unknown> | 2012-04-16 09:05:21 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-04-16 09:05:21 +1000 |
commit | d5110563aee91348b5c60a13a0aaf2893d50d3ea (patch) | |
tree | 10490965d3b172a48843097840ab4712092c5cd2 /include | |
parent | 09b1f297feb98e85d7b01fbd7b39e4bfdd2516e0 (diff) | |
download | scintilla-mirror-d5110563aee91348b5c60a13a0aaf2893d50d3ea.tar.gz |
Case-insensitive auto-completion selection. Bug #3516538.
From Markus Nißl.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 4 | ||||
-rw-r--r-- | include/Scintilla.iface | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 7a6f58fac..8ff3d3142 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -685,6 +685,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETCHARSDEFAULT 2444 #define SCI_AUTOCGETCURRENT 2445 #define SCI_AUTOCGETCURRENTTEXT 2610 +#define SC_CASEINSENSITITIVEBEHAVIOUR_RESPECTCASE 0 +#define SC_CASEINSENSITITIVEBEHAVIOUR_IGNORECASE 1 +#define SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR 2634 +#define SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR 2635 #define SCI_ALLOCATE 2446 #define SCI_TARGETASUTF8 2447 #define SCI_SETLENGTHFORENCODE 2448 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index a2a38d51c..e34f79dad 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1806,6 +1806,16 @@ fun int AutoCGetCurrent=2445(,) # Returns the length of the item text fun int AutoCGetCurrentText=2610(, stringresult s) +enu CaseInsensititiveBehaviour=SC_CASEINSENSITITIVEBEHAVIOUR_ +val SC_CASEINSENSITITIVEBEHAVIOUR_RESPECTCASE=0 +val SC_CASEINSENSITITIVEBEHAVIOUR_IGNORECASE=1 + +# Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference. +set void AutoCSetCaseInsensitiveBehaviour=2634(int behaviour,) + +# Get auto-completion case insensitive behaviour. +get int AutoCGetCaseInsensitiveBehaviour=2635(,) + # Enlarge the document to a particular size of text bytes. fun void Allocate=2446(int bytes,) |