texteditor: give priorities to mark to ensure z-order when drawing

This commit is contained in:
hjk
2011-03-02 18:43:26 +01:00
parent 4a179b7c73
commit 1b1896b38b
10 changed files with 40 additions and 6 deletions

View File

@@ -73,6 +73,11 @@ public:
{
m_parent->documentClosingFor(this);
}
virtual Priority priority() const
{
return m_parent->priority();
}
private:
BaseTextMark *m_parent;
};