diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-06-13 10:42:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-06-13 10:42:12 +0400 |
commit | d35d04a78961946145be256ed1ff45342f7633b8 (patch) | |
tree | 495c965c07bb372e03e42d74d6ed17d813014432 /source/blender/makesdna | |
parent | fe329792b4087add019508b0cb02aed0034c3651 (diff) |
text live_edit feature useful for UI scripts (run python scripts on every keystroke, careful with the os module)
http://www.graphicall.org/ftp/ideasman42/realtime_ui.ogv
current kerning makes this a bit cryptic.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 3864bcd0a21..4c2c2520ee3 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -272,7 +272,8 @@ typedef struct SpaceText { int tabnumber; int showsyntax; - int overwrite; + short overwrite; + short live_edit; /* run python while editing, evil */ float pix_per_line; struct rcti txtscroll, txtbar; |