Releases: A-AhkUser/eAutocomplete
Releases · A-AhkUser/eAutocomplete
eAutocomplete v2.0.1-beta
- fixed: menu not shown as expected on the top of the current window but beneath instead when the given window is an 'always on top' one.
- fixed: warnings (
#Warn Unreachable
) when running the script with AHK v1.1.33.00+ and due to redundantreturn
statements followingthrow
ones at the same nesting level. - added an example (mostly a proof of concept) demonstrating how can be extended/overriden the
eAutocomplete._HostControlWrapper
component to make the script work with other type of controls (custom GUI Scintilla ones in this case).
v2.0.0-beta
eAutocomplete v2.0.0-beta
What v1.2.32 was supposed to be
v1.2.32
v1.2.31
v1.2.30
new entry door in the interface - the 'search' event:
- added
onSearch
callback to allow override the algorithm that check the pending word against the current autocomplete source. - new built-in scoring algorithm (the script integrates the score function by Uberi): if not match is found in the autocompletion list, the script starts a fuzzy search.
- hence, I removed
matchModeRegEx
andregExSymbol
options.
the script now makes systematic use of the force-local mode.
eAutocomplete v1.2.21
. fixed autocomplete lists that include words with an initial zero from being improperly build (thanks oldbrother).
eAutocomplete v1.2.11
- [
onCompletion
callback] Fixed_completeString
(the first parameter containing the text of the complete string) being empty after a click event.
eAutocomplete v1.2.10
- Added support for rich edit (RICHEDIT50W) controls (e.g. Wordpad).
- Description/replacement strings can be multiline text strings (in this case, both the newline (linefeed/LF) and the carriage return (CR) characters must be escaped).
- Fixed
Down
also moving down to next line when querying for suggestions ifautosuggest
was set tofalse
and causing unwanted listbox displays after it has been closed by pressingEsc
.
eAutocomplete v1.2.00
Changes:
- Internal:
- Internal global redesign (enhancement of the OOP structure; in particular, catch-all methods has been removed).
- The script starts searching for entries that match when a user starts to type in the edit control and a brief rest (225ms) occured since the last keystroke, for efficiency (rapid key sequences will trigger only one search) and ergonomic purposes. For this very reason, the onValueChanged callback has been removed. An alternative onSuggestionsAvailable callback might be implemented soon.
- Interface/behaviour:
- dropDownList object member renamed to listbox (for an internal semantic clarity reason since, as of v1.1.11, if the host edit control is a single-line edit control, the list of choices is displayed beneath the control, rather like a comboBox list rather than a... dropdown list); onCompletionCompleted property renamed to onCompletion.
- The onValueChanged callback has been removed. An alternative onSuggestionsAvailable callback might be implemented soon.
- The top most suggestion is always automatically selected by default.
- The create base method accepts three parameters - namely: the host window's HWND; the edit control's options and an option object.
Addition:
- Internal:
- Internal support for rich edit controls (e.g. Wordpad) - it will be made available soon after further debugging.
- Interface/behaviour:
- All options may at any time be modified with imediate effect after the instance is created by setting the value of the respective property. The setOptions method can now be used alternatively to set one or more option of a given eAutocomplete instance.
- Added tabStops option.