MCPcopy Create free account
hub / github.com/SpartanJ/eepp / onTextEditing

Method onTextEditing

src/eepp/ui/uitextinput.cpp:935–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933}
934
935Uint32 UITextInput::onTextEditing( const TextEditingEvent& event ) {
936 UITextView::onTextEditing( event );
937 mDoc.imeTextEditing( event.getText() );
938 updateIMELocation();
939 invalidateDraw();
940 return 1;
941}
942
943void UITextInput::setAllowOnlyNumbers( const bool& onlyNumbers, const bool& allowFloat ) {
944 mOnlyNumbers = onlyNumbers;

Callers

nothing calls this directly

Calls 2

imeTextEditingMethod · 0.80
getTextMethod · 0.45

Tested by

no test coverage detected