From 3085edf2af65c243e1a02f574ca404b86d056a6b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 18 Feb 2010 17:11:12 +0000 Subject: [PATCH] [#21219] Separate autocomplete text with command prompt in console from Aurel W (aurel) --- release/scripts/op/console_python.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release/scripts/op/console_python.py b/release/scripts/op/console_python.py index 423acf66565..5382781e882 100644 --- a/release/scripts/op/console_python.py +++ b/release/scripts/op/console_python.py @@ -164,6 +164,10 @@ def autocomplete(context): namespace=console.locals, private=bpy.app.debug) + # Separate automplete output by command prompts + if scrollback != '': + bpy.ops.console.scrollback_append(text=sc.prompt + current_line.line, type='INPUT') + # Now we need to copy back the line from blender back into the # text editor. This will change when we dont use the text editor # anymore