-Fix shortcuts for OSX code completion, fixes #1111

-Fixed how translation fallbacks works, fixes #1011
This commit is contained in:
Juan Linietsky
2015-01-04 11:03:31 -03:00
parent f39473ae7a
commit a8bcb96ad4
4 changed files with 68 additions and 16 deletions

View File

@ -1957,7 +1957,11 @@ void TextEdit::_input_event(const InputEvent& p_input_event) {
update();
} break;
case KEY_SPACE: {
#ifdef OSX_ENABLED
if (completion_enabled && k.mod.meta) { //cmd-space is spotlight shortcut in OSX
#else
if (completion_enabled && k.mod.command) {
#endif
query_code_comple();
scancode_handled=true;