Also update the cursor on full invalidation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26030 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
566358a0cf
commit
f3c7795744
@ -1633,9 +1633,14 @@ TermView::_SynchronizeWithTextBuffer(int32 visibleDirtyTop,
|
||||
if (info.invalidateAll) {
|
||||
Invalidate();
|
||||
_UpdateScrollBarRange();
|
||||
|
||||
fCursor = fTextBuffer->Cursor();
|
||||
_ActivateCursor(false);
|
||||
|
||||
int32 offset = _LineAt(0);
|
||||
fVisibleTextBuffer->SynchronizeWith(fTextBuffer, offset, offset,
|
||||
offset + fTextBuffer->Height() + 2);
|
||||
|
||||
info.Reset();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user