[escher/text_area] Improve dirty tracking

This commit is contained in:
Léa Saviot
2019-10-11 09:39:24 +02:00
parent 1f44f80e4a
commit e98b67634d
4 changed files with 40 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ protected:
void unloadSyntaxHighlighter();
void clearRect(KDContext * ctx, KDRect rect) const override;
void drawLine(KDContext * ctx, int line, const char * text, size_t length, int fromColumn, int toColumn, const char * selectionStart, const char * selectionEnd) const override;
KDRect dirtyRectFromPosition(const char * position, bool lineBreak) const override;
KDRect dirtyRectFromPosition(const char * position, bool includeFollowingLines) const override;
private:
App * m_pythonDelegate;
};