fix for 'live edit', running python scripts as you type

- errors would jump to the line which gets in the way.
- the window wouldn't always redraw.
This commit is contained in:
2011-02-26 15:30:38 +00:00
parent a12315e4ec
commit 61235fcc8a
4 changed files with 53 additions and 38 deletions

View File

@@ -78,7 +78,7 @@ void BPY_python_end( void );
/* 2.5 UI Scripts */
int BPY_filepath_exec(struct bContext *C, const char *filepath, struct ReportList *reports);
int BPY_text_exec(struct bContext *C, struct Text *text, struct ReportList *reports);
int BPY_text_exec(struct bContext *C, struct Text *text, struct ReportList *reports, const short do_jump);
void BPY_text_free_code(struct Text *text);
void BPY_modules_update(struct bContext *C); // XXX - annoying, need this for pointers that get out of date
void BPY_modules_load_user(struct bContext *C);