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:
@@ -2383,10 +2383,8 @@ BTextView::MakeResizable(bool resize, BView *resizeView)
|
|||||||
if (fSelStart != fSelEnd && fSelectable)
|
if (fSelStart != fSelEnd && fSelectable)
|
||||||
Highlight(fSelStart, fSelEnd);
|
Highlight(fSelStart, fSelEnd);
|
||||||
|
|
||||||
else if (fCaretVisible) {
|
else if (fCaretVisible)
|
||||||
InvertCaret();
|
InvertCaret();
|
||||||
Refresh(0, fText->Length(), true, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -2396,6 +2394,8 @@ BTextView::MakeResizable(bool resize, BView *resizeView)
|
|||||||
DeleteOffscreen();
|
DeleteOffscreen();
|
||||||
NewOffscreen();
|
NewOffscreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Refresh(0, fText->Length(), true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user