From 29e6ad95d0319d7a54a44428074cdfb3479dc557 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sun, 12 Jun 2005 06:05:46 +0000 Subject: [PATCH] No need to explicitly Flush(), as it's done in BWindow after B_PULSE message handling git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13072 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/BTextView/TextView.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/kits/interface/BTextView/TextView.cpp b/src/kits/interface/BTextView/TextView.cpp index e67dd320a9..6efc22bd92 100644 --- a/src/kits/interface/BTextView/TextView.cpp +++ b/src/kits/interface/BTextView/TextView.cpp @@ -2173,9 +2173,6 @@ BTextView::Highlight(int32 startOffset, int32 endOffset) SetDrawingMode(B_OP_INVERT); FillRegion(&selRegion, B_SOLID_HIGH); SetDrawingMode(B_OP_COPY); -// TODO: unnecessary in R5 - maybe we should -// carry out drawing commands outside Draw() immediately? -Flush(); } @@ -3817,9 +3814,6 @@ BTextView::DrawCaret(int32 offset) caretRect.bottom = caretPoint.y + lineHeight; InvertRect(caretRect); -// TODO: This call seems not necessary on R5. So we need to fix something -// in our app_server. We should "auto-flush" eventually. -Flush(); }