JulianEberius/SublimeRope — pull request #79 by Caanon (2013-08-09 23:19:21+00:00)
Title: Fix manual invocation

Looks like a "not" was missing from on_query_completion.

To reproduce the bug this fixes:
1) Set keybinding: {"keys": ["ctrl+shift+space"], "command": "python_manual_completion_request"}
2) Set option "complete_as_you_type" to false
3) Create new python file and type:

import os
os.[[ctrl+shift+space]] <--- and rope is not invoked

This is because SublimeRopeListener.user_requested was set to True, and will never pass the first "if" test in on_query_completions, and as far as I can tell no other function will set user_requested to False. Now that I think about it, it seems calling PythonManualCompletionRequest actually completely breaks autocompletion completely. So this fixes that too I guess? :)