diff options
| author | Juan Linietsky | 2015-01-04 11:03:31 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-01-04 11:03:31 -0300 |
| commit | a8bcb96ad4c940c93d3fd561ddd29ce38b529303 (patch) | |
| tree | 36c566d8af17af871262f501bc21c4870cc00d48 /tools/editor/plugins/script_editor_plugin.cpp | |
| parent | f39473ae7adf11e16b2a7aae2f84764a3225752b (diff) | |
| download | godot-a8bcb96ad4c940c93d3fd561ddd29ce38b529303.tar.gz godot-a8bcb96ad4c940c93d3fd561ddd29ce38b529303.tar.zst godot-a8bcb96ad4c940c93d3fd561ddd29ce38b529303.zip | |
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 2e5f267d5..439d8273c 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -1602,7 +1602,11 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { edit_menu->get_popup()->add_item("Toggle Comment",EDIT_TOGGLE_COMMENT,KEY_MASK_CMD|KEY_K); edit_menu->get_popup()->add_item("Clone Down",EDIT_CLONE_DOWN,KEY_MASK_CMD|KEY_B); edit_menu->get_popup()->add_separator(); +#ifdef OSX_ENABLED + edit_menu->get_popup()->add_item("Complete Symbol",EDIT_COMPLETE,KEY_MASK_META|KEY_SPACE); +#else edit_menu->get_popup()->add_item("Complete Symbol",EDIT_COMPLETE,KEY_MASK_CMD|KEY_SPACE); +#endif edit_menu->get_popup()->add_item("Auto Indent",EDIT_AUTO_INDENT,KEY_MASK_CMD|KEY_I); edit_menu->get_popup()->connect("item_pressed", this,"_menu_option"); |
