SDK/TextAreaWidget: Fix insertion with accents
This commit is contained in:
@@ -230,7 +230,7 @@ namespace Ndk
|
||||
else
|
||||
{
|
||||
Nz::String currentText = m_drawer.GetText();
|
||||
currentText.Insert(m_cursorPosition, text);
|
||||
currentText.Insert(currentText.GetCharacterPosition(m_cursorPosition), text);
|
||||
SetText(currentText);
|
||||
|
||||
m_cursorPosition += text.GetLength();
|
||||
|
||||
Reference in New Issue
Block a user