Skip to content

Commit

Permalink
fix auto complete not closing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
komsit37 committed Apr 12, 2016
1 parent bf2cb30 commit cef0e23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions q_out_popup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ def do(self, edit=None, input=None):
print('force close popup')
QOutPopupBaseCommand.TO_CLOSE = False
self.view.hide_popup()
return '' #return something so q_chain can continue
2 changes: 1 addition & 1 deletion sublime/Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{ "keys": ["super+j"], "command": "q_chain", "args": {"chain": ["q_select_text", "q_send_json", "q_out_popup_json", "q_update_completions"]}},
{ "keys": ["super+shift+enter"],"command": "q_chain", "args": {"chain": ["q_select_text", "q_send_json", "q_out_panel", "q_update_completions"]}},

{ "keys": ["escape"], "command": "q_chain", "args": {"chain": ["q_out_popup_close"]}},
{ "keys": ["escape"], "command": "q_chain", "args": {"chain": ["q_out_popup_close", "hide_auto_complete"]}},

//connection
{ "keys": ["super+alt+q"], "command": "show_connection_list"},
Expand Down
2 changes: 1 addition & 1 deletion sublime/Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{ "keys": ["ctrl+j"], "command": "q_chain", "args": {"chain": ["q_select_text", "q_send_json", "q_out_popup_json", "q_update_completions"]}},
{ "keys": ["ctrl+shift+enter"],"command": "q_chain", "args": {"chain": ["q_select_text", "q_send_json", "q_out_panel", "q_update_completions"]}},

{ "keys": ["escape"], "command": "q_chain", "args": {"chain": ["q_out_popup_close"]}},
{ "keys": ["escape"], "command": "q_chain", "args": {"chain": ["q_out_popup_close", "hide_auto_complete"]}},

//connection
{ "keys": ["ctrl+alt+q"], "command": "show_connection_list"},
Expand Down

0 comments on commit cef0e23

Please sign in to comment.