Ticket #8105: BTextView.patch

File BTextView.patch, 614 bytes (added by bigmike, 12 years ago)
  • src/kits/interface/TextView.cpp

     
    37503750       _RequestDrawLines(fromLine, toLine);
    37513751
    37523752       // erase the area below the text
    3753        BRect eraseRect = bounds;
     3753       BRect eraseRect = fTextRect;
    37543754       eraseRect.top = fTextRect.top + (*fLines)[fLines->NumLines()]->origin;
    37553755       eraseRect.bottom = fTextRect.top + saveHeight;
    37563756       if (eraseRect.bottom > eraseRect.top && eraseRect.Intersects(bounds)) {