|
@@ -1328,7 +1328,10 @@ void TextEditor::moveCaret (int newCaretPos) |
|
|
if (newCaretPos != getCaretPosition())
|
|
|
if (newCaretPos != getCaretPosition())
|
|
|
{
|
|
|
{
|
|
|
caretPosition = newCaretPos;
|
|
|
caretPosition = newCaretPos;
|
|
|
textHolder->restartTimer();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (hasKeyboardFocus (false))
|
|
|
|
|
|
textHolder->restartTimer();
|
|
|
|
|
|
|
|
|
scrollToMakeSureCursorIsVisible();
|
|
|
scrollToMakeSureCursorIsVisible();
|
|
|
updateCaretPosition();
|
|
|
updateCaretPosition();
|
|
|
}
|
|
|
}
|
|
|