| 265 | } |
| 266 | |
| 267 | void GuiTextEditCtrl::setText( const UTF8 *txt ) |
| 268 | { |
| 269 | if(txt && txt[0] != 0) |
| 270 | { |
| 271 | Parent::setText(txt); |
| 272 | mTextBuffer.set( txt ); |
| 273 | } |
| 274 | else |
| 275 | mTextBuffer.set( "" ); |
| 276 | |
| 277 | mCursorPos = mTextBuffer.length(); |
| 278 | } |
| 279 | |
| 280 | void GuiTextEditCtrl::setText( const UTF16* txt) |
| 281 | { |
no test coverage detected