Redraw the text when MakeResizable is called. Fixes bug 187

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16798 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-03-14 21:30:19 +00:00
parent c44a5bea8b
commit f6e3e0a259
+3 -3
View File
@@ -2383,10 +2383,8 @@ BTextView::MakeResizable(bool resize, BView *resizeView)
if (fSelStart != fSelEnd && fSelectable)
Highlight(fSelStart, fSelEnd);
else if (fCaretVisible) {
else if (fCaretVisible)
InvertCaret();
Refresh(0, fText->Length(), true, false);
}
}
}
} else {
@@ -2396,6 +2394,8 @@ BTextView::MakeResizable(bool resize, BView *resizeView)
DeleteOffscreen();
NewOffscreen();
}
Refresh(0, fText->Length(), true, false);
}