diff options
| author | nyamatongwe <devnull@localhost> | 2013-04-01 14:25:49 +1100 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2013-04-01 14:25:49 +1100 | 
| commit | 3b9151f20a26c69428590bedab0270fedf334db8 (patch) | |
| tree | fc18e116270dcabf429b4367be166fd28826b156 /src/ScintillaBase.cxx | |
| parent | 6076715f3edf19f4897d910e6ddb7a032f4d17c6 (diff) | |
| download | scintilla-mirror-3b9151f20a26c69428590bedab0270fedf334db8.tar.gz | |
Feature [#981]. Added autocompletion order property to allow list to be ordered
according to container preference but still allowing selection by typing.
From Alpha.
Diffstat (limited to 'src/ScintillaBase.cxx')
| -rw-r--r-- | src/ScintillaBase.cxx | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 4a0146f7b..35aa1c49e 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -794,6 +794,13 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara  	case SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR:  		return ac.ignoreCaseBehaviour; +	case SCI_AUTOCSETORDER: +		ac.autoSort = wParam; +		break; + +	case SCI_AUTOCGETORDER: +		return ac.autoSort; +  	case SCI_USERLISTSHOW:  		listType = wParam;  		AutoCompleteStart(0, reinterpret_cast<const char *>(lParam)); | 
