diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-29 09:54:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-29 09:54:43 +0400 |
commit | d0ec1b1caa7ad7048bcd23f58a0b26e548c8c551 (patch) | |
tree | 53fc01a7c9ffb9267f3b4bd209471e32487974ba /source/blender/blenlib/BLI_string_cursor_utf8.h | |
parent | 07851dd8df23f716b60aa215c8cd9f7c591b0fde (diff) |
Fix for 3d text ctrl+arrow keys failing for multi-byte characters.
Diffstat (limited to 'source/blender/blenlib/BLI_string_cursor_utf8.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_cursor_utf8.h | 4 |
1 files changed, 4 insertions, 0 deletions
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__ */ |