diff options
author | nyamatongwe <devnull@localhost> | 2004-01-13 20:25:47 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-01-13 20:25:47 +0000 |
commit | 2d498f5ff3b8d6a527d3ca8b3c23e4171af56a8f (patch) | |
tree | 4c520b693eedc7e27567552fecbd72bcc022a062 /src/Document.h | |
parent | 771b0eafa4d34eece2c5f19e7c4bbff6a289175f (diff) | |
download | scintilla-mirror-2d498f5ff3b8d6a527d3ca8b3c23e4171af56a8f.tar.gz |
When styling is performed outside a styleneeded event,
increment the style clock so the layout cache is invalidated
and so the styling is displayed.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index dc9e38e21..f5436ab4f 100644 --- a/src/Document.h +++ b/src/Document.h @@ -210,6 +210,7 @@ public: int GetEndStyled() { return endStyled; } bool EnsureStyledTo(int pos); int GetStyleClock() { return styleClock; } + void IncrementStyleClock(); int SetLineState(int line, int state) { return cb.SetLineState(line, state); } int GetLineState(int line) { return cb.GetLineState(line); } |