Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-29 09:54:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-29 09:54:43 +0400
commitd0ec1b1caa7ad7048bcd23f58a0b26e548c8c551 (patch)
tree53fc01a7c9ffb9267f3b4bd209471e32487974ba /source/blender/blenlib/BLI_string_cursor_utf8.h
parent07851dd8df23f716b60aa215c8cd9f7c591b0fde (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.h4
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__ */