From f43923d86d0a4d6dbbdc8d7fc05d383a23b3e5e2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 19 Dec 2012 04:02:19 +0000 Subject: generalize formatting code so different formatters can be registered and each has their own source file, Since we will likely have OSL formatting added soon. --- source/blender/editors/space_text/text_intern.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source/blender/editors/space_text/text_intern.h') diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h index 6d3b184f6cf..c7f9512737f 100644 --- a/source/blender/editors/space_text/text_intern.h +++ b/source/blender/editors/space_text/text_intern.h @@ -68,18 +68,6 @@ void text_update_cursor_moved(struct bContext *C); #define TOOL_SUGG_LIST 0x01 #define TOOL_DOCUMENT 0x02 -typedef struct FlattenString { - char fixedbuf[256]; - int fixedaccum[256]; - - char *buf; - int *accum; - int pos, len; -} FlattenString; - -int flatten_string(struct SpaceText *st, FlattenString *fs, const char *in); -void flatten_string_free(FlattenString *fs); - int wrap_width(struct SpaceText *st, struct ARegion *ar); void wrap_offset(struct SpaceText *st, struct ARegion *ar, struct TextLine *linein, int cursin, int *offl, int *offc); void wrap_offset_in_line(struct SpaceText *st, struct ARegion *ar, struct TextLine *linep, int cursin, int *offl, int *offc); -- cgit v1.2.3