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