Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Thompson <quornian@googlemail.com>2008-07-28 15:05:35 +0400
committerIan Thompson <quornian@googlemail.com>2008-07-28 15:05:35 +0400
commitf45aca0447e09c5c36bba31f5de48d6554cdc4f9 (patch)
tree0721548ea673a2d8e900f22027f7872abfbca11b /source/blender/include/BIF_drawtext.h
parent01a6d44b07efb349397fef4a4cfb4ee19bc6751d (diff)
Complete rewrite of syntax highlighting and formatting. Some improvements:
- Takes less than half the time to format a full document - Where possible only the required lines are re-parsed when text is changed (was the whole file, for every key press!) - Memory is allocated in one place only (there were all sorts of problems here) - Should be easily extensible for other scripting languages - Lots of comments to make it very easy to follow / change - def and class are now properly coloured. They had a theme colour but the checks didn't work.
Diffstat (limited to 'source/blender/include/BIF_drawtext.h')
-rw-r--r--source/blender/include/BIF_drawtext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BIF_drawtext.h b/source/blender/include/BIF_drawtext.h
index 19f9d50e774..9f0b98435c5 100644
--- a/source/blender/include/BIF_drawtext.h
+++ b/source/blender/include/BIF_drawtext.h
@@ -45,7 +45,8 @@ void add_text_fs(char *file);
void free_txt_data(void);
void pop_space_text(struct SpaceText *st);
-void get_format_string(struct SpaceText *st);
+void txt_format_text(struct SpaceText *st);
+void txt_format_line(struct SpaceText *st, struct TextLine *line, int do_next);
void do_brackets(void);
#endif