text live_edit feature useful for UI scripts (run python scripts on every keystroke...
[blender.git] / source / blender / makesrna / intern / rna_space.c
index 5de80cce2b58d7230d262ac60834a71940b28310..a27c79264284e2151957c1bf1756281c708b64c3 100644 (file)
@@ -726,6 +726,9 @@ static void rna_def_space_text(BlenderRNA *brna)
        prop= RNA_def_property(srna, "overwrite", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_ui_text(prop, "Overwrite", "Overwrite characters when typing rather than inserting them.");
        RNA_def_property_update(prop, NC_TEXT|ND_DISPLAY, NULL);
+       
+       prop= RNA_def_property(srna, "live_edit", PROP_BOOLEAN, PROP_NONE);
+       RNA_def_property_ui_text(prop, "Live Edit", "Run python while editing.");
 
        prop= RNA_def_property(srna, "tab_width", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "tabnumber");