| 276 | } |
| 277 | |
| 278 | void GuiTextEditCtrl::setText( const UTF8 *txt ) |
| 279 | { |
| 280 | if(txt && txt[0] != 0) |
| 281 | { |
| 282 | Parent::setText(txt); |
| 283 | mTextBuffer.set( txt ); |
| 284 | } |
| 285 | else |
| 286 | mTextBuffer.set( "" ); |
| 287 | |
| 288 | mCursorPos = mTextBuffer.length(); |
| 289 | } |
| 290 | |
| 291 | void GuiTextEditCtrl::setText( const UTF16* txt) |
| 292 | { |
no test coverage detected