From 548093449967bb84aaf112df736428681657c528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= Date: Fri, 8 Mar 2024 07:56:22 +1100 Subject: Bug [#2403]. Add SC_AUTOCOMPLETE_SELECT_FIRST_ITEM. This option always selects the first item in the autocompletion list. --- doc/ScintillaDoc.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index b65a9c8ef..9f8f6d937 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -6420,6 +6420,18 @@ struct Sci_TextToFindFull { This also avoids a header rectangle above the list. + + SC_AUTOCOMPLETE_SELECT_FIRST_ITEM + + 2 + + Always select the first item from the autocompletion list regardless of the value + entered in the editor. Useful when the autocompletion logic of the application + sorts autocompletion entries so that the best match is always at the top of the + list. Without this option, Scintilla selects the item from the autocompletion + list matching the value entered in the editor. + + -- cgit v1.2.3