From d0ec1b1caa7ad7048bcd23f58a0b26e548c8c551 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 29 Dec 2013 16:54:43 +1100 Subject: Fix for 3d text ctrl+arrow keys failing for multi-byte characters. --- source/blender/blenlib/BLI_string_cursor_utf8.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenlib/BLI_string_cursor_utf8.h') diff --git a/source/blender/blenlib/BLI_string_cursor_utf8.h b/source/blender/blenlib/BLI_string_cursor_utf8.h index 04d9df2abda..45910666a1e 100644 --- a/source/blender/blenlib/BLI_string_cursor_utf8.h +++ b/source/blender/blenlib/BLI_string_cursor_utf8.h @@ -48,4 +48,8 @@ void BLI_str_cursor_step_utf8(const char *str, size_t maxlen, int *pos, strCursorJumpDirection direction, strCursorJumpType jump, bool use_init_step); +void BLI_str_cursor_step_wchar(const wchar_t *str, size_t maxlen, + int *pos, strCursorJumpDirection direction, + strCursorJumpType jump, bool use_init_step); + #endif /* __BLI_STRING_CURSOR_UTF8_H__ */ -- cgit v1.2.3