From e98d27fd8d432650489f973abcdfad4163e87f42 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 22 Nov 2019 20:50:17 +1100 Subject: Keymap: use tab key for indent or auto-complete Only indent when there aren't characters before the cursor. This resolves the conflict with Ctrl-Space for view maximize. D6239 by @wbrbr for text editor, based console support on this. --- source/blender/editors/space_console/space_console.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_console/space_console.c') diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c index 5cc2f00413a..65a23531963 100644 --- a/source/blender/editors/space_console/space_console.c +++ b/source/blender/editors/space_console/space_console.c @@ -245,6 +245,7 @@ static void console_operatortypes(void) WM_operatortype_append(CONSOLE_OT_insert); WM_operatortype_append(CONSOLE_OT_indent); + WM_operatortype_append(CONSOLE_OT_indent_or_autocomplete); WM_operatortype_append(CONSOLE_OT_unindent); /* for use by python only */ -- cgit v1.2.3