| 260 | } |
| 261 | |
| 262 | void TextEntry::MakeActiveTextEntry(bool setCaretToEnd) |
| 263 | { |
| 264 | SetActiveKeyboardFocus(this); |
| 265 | if (mListener) |
| 266 | mListener->TextEntryActivated(this); |
| 267 | if (setCaretToEnd) |
| 268 | { |
| 269 | mCaretPosition = (int)strlen(mString); |
| 270 | mCaretPosition2 = mCaretPosition; |
| 271 | } |
| 272 | mCaretBlink = true; |
| 273 | mCaretBlinkTimer = 0; |
| 274 | } |
| 275 | |
| 276 | void TextEntry::RemoveSelectedText() |
| 277 | { |
no test coverage detected