Fixed the collapsed block popup to draw on top of cursor/highlights

The various text editor overlays and the text cursor were being painted
on top of the collapsed block popup.

Reviewed-by: mae
This commit is contained in:
Thorbjørn Lindeijer
2010-05-31 13:48:40 +02:00
parent 05ec16f89a
commit 8ffc25bbad
2 changed files with 65 additions and 51 deletions

View File

@@ -487,6 +487,11 @@ private:
bool active,
bool hovered) const;
void drawCollapsedBlockPopup(QPainter &painter,
const QTextBlock &block,
QPointF offset,
const QRect &clip);
void toggleBlockVisible(const QTextBlock &block);
QRect collapseBox();