[#21219] Separate autocomplete text with command prompt in console

from Aurel W (aurel)
This commit is contained in:
2010-02-18 17:11:12 +00:00
parent b5adeb922f
commit 3085edf2af

View File

@@ -164,6 +164,10 @@ def autocomplete(context):
namespace=console.locals, namespace=console.locals,
private=bpy.app.debug) 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 # 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 # text editor. This will change when we dont use the text editor
# anymore # anymore