python console in ~80 lines
authorCampbell Barton <ideasman42@gmail.com>
Sun, 12 Jul 2009 12:47:34 +0000 (12:47 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 12 Jul 2009 12:47:34 +0000 (12:47 +0000)
commit78703a9ef8983ce513c1d428ba947dfbe1a58f97
treed0215bade63f860be539885656b0f2e871fb588d
parent184dca5396ee0de4535523c66d19f896cfb7a939
python console in ~80 lines
Shift+Enter in the text editor executes the TEXT_OT_line_console operator defined in space_text.py

The operator's class stores a namespace for each text block.

Eventually this should have its own input rather then using the text editor.

Tested with py3.1 and 2.6

TEXT_OT_insert was only using the first char from a string, added support for inserting strings.
release/ui/space_text.py
source/blender/editors/space_text/space_text.c
source/blender/editors/space_text/text_ops.c