Campbell Barton
d739a1788d
small edits to text editor from writing a python editor extension.
...
- rename TextLine.line -> body, ConsoleLine.line -> body
- minor speedups when setting the body text, also re-allocate console lines if they are < half the length.
- added option to highlight current line in the text editor.
2010-08-11 05:21:43 +00:00
Campbell Barton
97bdfe6f1b
pep8 cleanup + correction for external player operator return value.
2010-02-22 23:32:58 +00:00
Campbell Barton
23efeff6a9
[ #21177 ] Text editor
...
Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
2010-02-16 09:55:07 +00:00
Campbell Barton
39c04315e2
change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-14 11:21:21 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Campbell Barton
bbe13e7823
* register operators like other classes
...
* operators now return sets (converted into flags)
* can't remove bpy_operator_wrap.c since macro's still use the custom register funcs
2009-12-24 19:50:43 +00:00
Campbell Barton
9f965ba62b
pep8 warnings, remove unused imports
2009-12-13 22:48:11 +00:00
Guillermo S. Romero
648122b1a2
String fix and a bunch of PEP8 issues I had collected in the meanwhile.
2009-12-04 17:54:48 +00:00
Campbell Barton
1dfbf3a9f6
- aspectx wasnt saved in the render preset
...
- define a preset base class
- cleanup some comments and whitespace
2009-11-21 23:55:14 +00:00
Campbell Barton
51f2dcd08c
- access console languages as modules rather then having the py operator call an operator
...
- workaround for __getattr__ existing for types that dont support it
2009-11-17 12:21:41 +00:00
Campbell Barton
af011f33a6
use the cwd for the shell prompt, use subprocess.getstatusoutput rather then popen()
2009-11-08 12:35:37 +00:00
Campbell Barton
ddeb9f8e24
- added console language type
...
- separated python console from the interactive console
- added shell console type (simple example)
- console types are autodetected and can be selected in the menu
2009-11-06 23:53:40 +00:00