(svn r25652) -Fix: Improve text caret movement for complex scripts.

This commit is contained in:
michi_cc
2013-08-05 20:35:27 +00:00
parent 33f3cf3a5d
commit e7dc14b25a
10 changed files with 238 additions and 13 deletions

View File

@@ -147,6 +147,13 @@ static inline char *Utf8PrevChar(char *s)
return ret;
}
static inline const char *Utf8PrevChar(const char *s)
{
const char *ret = s;
while (IsUtf8Part(*--ret)) {}
return ret;
}
size_t Utf8StringLength(const char *s);
/**