diff options
author | nyamatongwe <devnull@localhost> | 2000-07-12 03:39:49 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-07-12 03:39:49 +0000 |
commit | 9bde3adbd08a9f706655f0e0fe1c9adf685408a0 (patch) | |
tree | e9082783244851d58fffe9faae8af129f92b0409 /src/ScintillaBase.cxx | |
parent | 762e9a08d98e8e1c8c67982259be3dacc3cd7f2c (diff) | |
download | scintilla-mirror-9bde3adbd08a9f706655f0e0fe1c9adf685408a0.tar.gz |
Autocompletion cancel at start position available to API.
Inverted default value to be compatible with older code.
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 f14426969..bf1b28394 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -351,6 +351,13 @@ LRESULT ScintillaBase::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { case SCI_AUTOCSELECT: ac.Select(reinterpret_cast<char *>(lParam)); break; + + case SCI_AUTOCSETCANCELATSTART: + ac.cancelAtStartPos = wParam; + break; + + case SCI_AUTOCGETCANCELATSTART: + return ac.cancelAtStartPos; case SCI_CALLTIPSHOW: { AutoCompleteCancel(); |