diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-16 08:05:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-16 08:05:01 +0400 |
commit | d0e65f2bf4d5e2140752c0695d19507ffee1ebd8 (patch) | |
tree | 419a3c76aecdd26113b8649f64e3198fc23b403e /source/blender/editors/space_text/text_format.h | |
parent | 6fd5645d56b9e2d34a683fa21139d975c8be02aa (diff) |
text syntax highlighting: don't use utf8 stepping if we know the text is ascii
Diffstat (limited to 'source/blender/editors/space_text/text_format.h')
-rw-r--r-- | source/blender/editors/space_text/text_format.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_format.h b/source/blender/editors/space_text/text_format.h index 472de604d78..808311cbb62 100644 --- a/source/blender/editors/space_text/text_format.h +++ b/source/blender/editors/space_text/text_format.h @@ -60,6 +60,7 @@ int flatten_string_strlen(FlattenString *fs, const char *str); int text_check_format_len(TextLine *line, unsigned int len); void text_format_fill(const char **str_p, char **fmt_p, const char type, const int len); +void text_format_fill_ascii(const char **str_p, char **fmt_p, const char type, const int len); /* *** Generalize Formatting *** */ typedef struct TextFormatType { |