diff options
author | Neil <nyamatongwe@gmail.com> | 2015-11-11 19:14:30 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-11-11 19:14:30 +1100 |
commit | fc7f7bed53a60d2d3785cf95093d388d39b2af11 (patch) | |
tree | 6b1030593ef0c6e8815c356269b8722d1109017c /src/Document.h | |
parent | 4a52b4ef384436f5474184588ecacf666369afa0 (diff) | |
download | scintilla-mirror-fc7f7bed53a60d2d3785cf95093d388d39b2af11.tar.gz |
Implemented idle styling. This allows painting without first styling all visible
text then styling in the background using idle-time.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |