SDK/TextAreaWidget: Fix cursor position after inserting special characters
This commit is contained in:
parent
58866fd4ac
commit
d6e02d486b
|
|
@ -233,7 +233,7 @@ namespace Ndk
|
|||
currentText.Insert(m_cursorPosition, text);
|
||||
SetText(currentText);
|
||||
|
||||
m_cursorPosition += text.GetSize();
|
||||
m_cursorPosition += text.GetLength();
|
||||
}
|
||||
|
||||
RefreshCursor();
|
||||
|
|
|
|||
Loading…
Reference in New Issue