Optimized PolyUITextInput::insertLine