[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27017] trunk/blender/release/scripts/op/ console_python.py: [#21219] Separate autocomplete text with command prompt in console

Campbell Barton ideasman42 at gmail.com
Thu Feb 18 18:11:12 CET 2010


Revision: 27017
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27017
Author:   campbellbarton
Date:     2010-02-18 18:11:12 +0100 (Thu, 18 Feb 2010)

Log Message:
-----------
[#21219] Separate autocomplete text with command prompt in console
from Aurel W (aurel) 

Modified Paths:
--------------
    trunk/blender/release/scripts/op/console_python.py

Modified: trunk/blender/release/scripts/op/console_python.py
===================================================================
--- trunk/blender/release/scripts/op/console_python.py	2010-02-18 17:00:24 UTC (rev 27016)
+++ trunk/blender/release/scripts/op/console_python.py	2010-02-18 17:11:12 UTC (rev 27017)
@@ -164,6 +164,10 @@
             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





More information about the Bf-blender-cvs mailing list