From fc7f7bed53a60d2d3785cf95093d388d39b2af11 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 11 Nov 2015 19:14:30 +1100 Subject: Implemented idle styling. This allows painting without first styling all visible text then styling in the background using idle-time. --- src/Document.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index ea8ddfbed..71a45879e 100644 --- a/src/Document.h +++ b/src/Document.h @@ -246,6 +246,7 @@ public: bool useTabs; bool tabIndents; bool backspaceUnindents; + double durationStyleOneLine; DecorationList decorations; @@ -400,6 +401,7 @@ public: bool SCI_METHOD SetStyles(Sci_Position length, const char *styles); int GetEndStyled() const { return endStyled; } void EnsureStyledTo(int pos); + void StyleToAdjustingLineDuration(int pos); void LexerChanged(); int GetStyleClock() const { return styleClock; } void IncrementStyleClock(); -- cgit v1.2.3