Also clear the selection when invalidating all.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-06-19 22:23:59 +00:00
parent 1291c38c18
commit f9428b3ecd

View File

@ -1633,6 +1633,7 @@ TermView::_SynchronizeWithTextBuffer(int32 visibleDirtyTop,
if (info.invalidateAll) {
Invalidate();
_UpdateScrollBarRange();
_Deselect();
fCursor = fTextBuffer->Cursor();
_ActivateCursor(false);