| 341 | } |
| 342 | |
| 343 | void KeyBoardWinRT::OnTextCompositionEnded(Windows::UI::Xaml::Controls::TextBox, |
| 344 | Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs const& args) |
| 345 | { |
| 346 | m_useInputMethod = false; |
| 347 | auto text = m_textBox.Text(); |
| 348 | if (!text.empty()) |
| 349 | { |
| 350 | std::shared_ptr<ax::InputEvent> e(new ax::KeyboardEvent(AxmolKeyEvent::Text, text)); |
| 351 | ax::RenderViewImpl::sharedRenderView()->QueueEvent(e); |
| 352 | m_textBox.Text(L""); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | } |
| 357 |
nothing calls this directly
no test coverage detected