* Changes the string displayed on screen. * @param text Text string. */
| 143 | * @param text Text string. |
| 144 | */ |
| 145 | void TextEdit::setText(const std::wstring &text) |
| 146 | { |
| 147 | _value = text; |
| 148 | _caretPos = _value.length(); |
| 149 | _redraw = true; |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * Returns the string displayed on screen. |