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

Method setText

src/eepp/ui/uitextedit.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void UITextEdit::setText( const String& text ) {
71 mDoc->reset();
72 mDoc->textInput( text );
73 if ( !hasFocus() )
74 mCursorVisible = false;
75 invalidateLongestLineWidth();
76}
77
78void UITextEdit::setWordWrap( bool enabled ) {
79 if ( enabled )

Callers

nothing calls this directly

Calls 2

textInputMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected