Closed Lexikos closed 1 year ago
The problem can be replicated by adding an API (even a fake one) with parameters and the following properties to enable calltips:
calltip.ahk1.ignorecase=1 calltip.ahk2.ignorecase=1 calltip.ahk2.parameters.start=( calltip.ahk2.parameters.end=) calltip.ahk2.parameters.separators=, calltip.ahk2.word.characters=$(ahk2.word.characters).#
With the API Fubar(A), typing Fubar("A") would not close the tooltip, because OnChar was returning true.
Fubar(A)
Fubar("A")
This PR fixes it by skipping the autocomplete workarounds if the character being typed is one that would not trigger autocomplete, such ).
)
The problem can be replicated by adding an API (even a fake one) with parameters and the following properties to enable calltips:
With the API
Fubar(A)
, typingFubar("A")
would not close the tooltip, because OnChar was returning true.This PR fixes it by skipping the autocomplete workarounds if the character being typed is one that would not trigger autocomplete, such
)
.