diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-06 10:16:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-06 14:59:13 +0300 |
commit | dcad1eb03ccc0782229d81cdbeaa71c035c09955 (patch) | |
tree | c06a59d5751331a2a5eda36d27ba66a2fc9357f3 /source/blender/blenkernel/BKE_text.h | |
parent | 8b2810a32f094f4d95663d630700c6f147703ad6 (diff) |
Cleanup: move utf8 offset conversion into BLI_string_utf8
There isn't anything specific to text data with these functions.
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index f018e912945..65aa43ced7c 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -59,10 +59,6 @@ void txt_order_cursors(struct Text *text, const bool reverse); int txt_find_string(struct Text *text, const char *findstr, int wrap, int match_case); bool txt_has_sel(struct Text *text); int txt_get_span(struct TextLine *from, struct TextLine *to); -int txt_utf8_offset_to_index(const char *str, int offset); -int txt_utf8_index_to_offset(const char *str, int index); -int txt_utf8_offset_to_column(const char *str, int offset); -int txt_utf8_column_to_offset(const char *str, int column); void txt_move_up(struct Text *text, const bool sel); void txt_move_down(struct Text *text, const bool sel); void txt_move_left(struct Text *text, const bool sel); |