From befcf67e8df6f8b80df05efa8f77ec81fc3ea45b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 12 Jul 2000 03:39:49 +0000 Subject: Autocompletion cancel at start position available to API. Inverted default value to be compatible with older code. --- src/ScintillaBase.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ScintillaBase.cxx') 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(lParam)); break; + + case SCI_AUTOCSETCANCELATSTART: + ac.cancelAtStartPos = wParam; + break; + + case SCI_AUTOCGETCANCELATSTART: + return ac.cancelAtStartPos; case SCI_CALLTIPSHOW: { AutoCompleteCancel(); -- cgit v1.2.3