Trigger autocomplete with Shift-Space, in addition to existing triggers

This commit is contained in:
Shane Kilkelly 2017-06-28 15:24:37 +01:00
parent b73b78e570
commit c9678ad699

View file

@ -169,7 +169,7 @@ define [
$(editor.completer.popup?.container).css({'font-size': @$scope.fontSize + 'px'}) $(editor.completer.popup?.container).css({'font-size': @$scope.fontSize + 'px'})
if editor.completer?.completions?.filtered?.length == 0 if editor.completer?.completions?.filtered?.length == 0
editor.completer.detach() editor.completer.detach()
bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space" bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space|Shift-Space"
} }
Util.retrievePrecedingIdentifier = (text, pos, regex) -> Util.retrievePrecedingIdentifier = (text, pos, regex) ->