Fix: autocomplete should use changes event
This commit is contained in:
parent
aed3698c74
commit
90ca2f2d23
|
@ -1037,7 +1037,7 @@ function toggleSectionHeight(cm) {
|
|||
|
||||
function setupAutocomplete(cm, enable = true) {
|
||||
const onOff = enable ? 'on' : 'off';
|
||||
cm[onOff]('change', autocompleteOnTyping);
|
||||
cm[onOff]('changes', autocompleteOnTyping);
|
||||
cm[onOff]('pick', autocompletePicked);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user