Searched refs:textEvent (Results 1 – 2 of 2) sorted by relevance
201 BeforeTextInsertedEvent* textEvent = static_cast<BeforeTextInsertedEvent*>(event); in handleBeforeTextInsertedEvent() local206 candidateString.replace(range->startOffset(), range->endOffset(), textEvent->text()); in handleBeforeTextInsertedEvent()208 candidateString.insert(textEvent->text(), range->startOffset()); in handleBeforeTextInsertedEvent()210 textEvent->setText(""); in handleBeforeTextInsertedEvent()214 textEvent->setText(sanitizeUserInputValue(inputElement, textEvent->text(), appendableLength)); in handleBeforeTextInsertedEvent()
279 TextEvent* textEvent = static_cast<TextEvent*>(evt); in defaultEventHandler() local280 if (textEvent->data() == "\n") in defaultEventHandler()282 …else if (renderer() && !isConformedToInputMask(textEvent->data()[0], toRenderTextControl(renderer(… in defaultEventHandler()