Commit: 30680b8d51caada48a4f773caee8b934f06e3f30
Author: Campbell Barton
Date:   Thu Jul 5 08:16:22 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB30680b8d51caada48a4f773caee8b934f06e3f30

Keymap: use Shift-Space for auto-complete

Resolve conflict w/ maximized area.

===================================================================

M       source/blender/editors/space_console/space_console.c
M       source/blender/editors/space_text/space_text.c

===================================================================

diff --git a/source/blender/editors/space_console/space_console.c 
b/source/blender/editors/space_console/space_console.c
index 23ef2e50b5f..18a83bc2100 100644
--- a/source/blender/editors/space_console/space_console.c
+++ b/source/blender/editors/space_console/space_console.c
@@ -333,8 +333,7 @@ static void console_keymap(struct wmKeyConfig *keyconf)
        kmi = WM_keymap_add_item(keymap, "CONSOLE_OT_execute", PADENTER, 
KM_PRESS, 0, 0);
        RNA_boolean_set(kmi->ptr, "interactive", true);
 
-       //WM_keymap_add_item(keymap, "CONSOLE_OT_autocomplete", TABKEY, 
KM_PRESS, 0, 0); /* python operator - space_text.py */
-       WM_keymap_add_item(keymap, "CONSOLE_OT_autocomplete", SPACEKEY, 
KM_PRESS, KM_CTRL, 0); /* python operator - space_text.py */
+       WM_keymap_add_item(keymap, "CONSOLE_OT_autocomplete", SPACEKEY, 
KM_PRESS, KM_SHIFT, 0); /* python operator - space_text.py */
 #endif
 
        WM_keymap_add_item(keymap, "CONSOLE_OT_copy_as_script", CKEY, KM_PRESS, 
KM_CTRL | KM_SHIFT, 0);
diff --git a/source/blender/editors/space_text/space_text.c 
b/source/blender/editors/space_text/space_text.c
index ac43d7de408..30f1f2a789f 100644
--- a/source/blender/editors/space_text/space_text.c
+++ b/source/blender/editors/space_text/space_text.c
@@ -391,7 +391,7 @@ static void text_keymap(struct wmKeyConfig *keyconf)
 
        WM_keymap_add_menu(keymap, "TEXT_MT_toolbox", RIGHTMOUSE, KM_PRESS, 
KM_ANY, 0);
 
-       WM_keymap_add_item(keymap, "TEXT_OT_autocomplete", SPACEKEY, KM_PRESS, 
KM_CTRL, 0);
+       WM_keymap_add_item(keymap, "TEXT_OT_autocomplete", SPACEKEY, KM_PRESS, 
KM_SHIFT, 0);
 
        WM_keymap_add_item(keymap, "TEXT_OT_line_number", KM_TEXTINPUT, KM_ANY, 
KM_ANY, 0);
        WM_keymap_add_item(keymap, "TEXT_OT_insert", KM_TEXTINPUT, KM_ANY, 
KM_ANY, 0); // last!

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to