{
if ((__pEdit->GetEditStyle() & EDIT_STYLE_SINGLE_LINE) == false)
{
+ if (__isInputConnectionBound == true && __isTextComposing == true)
+ {
+ __pInputConnection->FinishTextComposition();
+ }
SetCursorPosition(GetTextLength());
}
}
}
__pTextBuffer[length] = 0;
+ __pTextObject->RemoveAll();
+ TextSimple* pSimpleText = new (std::nothrow)TextSimple(__pTextBuffer, length,TEXT_ELEMENT_SOURCE_TYPE_EXTERNAL, __pFont);
+ __pTextObject->AppendElement(*pSimpleText);
+
if (__isInitialized == true)
{
AdjustRTLTextAlignment(EDIT_TEXT_TYPE_INPUT);
}
-
- __pTextObject->RemoveAll();
- TextSimple* pSimpleText = new (std::nothrow)TextSimple(__pTextBuffer, length,TEXT_ELEMENT_SOURCE_TYPE_EXTERNAL, __pFont);
- __pTextObject->AppendElement(*pSimpleText);
__pTextObject->Compose();
ReplaceTextIntoPasswordHyphenString();