You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG:
If I select all text and then delete with a backspace, only the last character is deleted in the buffer, and the autocomplete still shows with the highlight.
SOLUTION:
Adding a trigger on keyup seems to solve the problem.
add this line in initTextarea (line 97) elmInputBox.bind('keyup', onInputBoxKeyUp);
and add a new function (line 392)
function onInputBoxKeyUp(e) {
if (e.keyCode === KEY.BACKSPACE) {
syntaxMessage = getInputBoxValue()
if(!syntaxMessage){
resetBuffer();
hideAutoComplete();
}
return;
}
}
The text was updated successfully, but these errors were encountered:
BUG:
If I select all text and then delete with a backspace, only the last character is deleted in the buffer, and the autocomplete still shows with the highlight.
SOLUTION:
Adding a trigger on keyup seems to solve the problem.
add this line in
initTextarea
(line 97)elmInputBox.bind('keyup', onInputBoxKeyUp);
and add a new function (line 392)
The text was updated successfully, but these errors were encountered: