diff options
author | nyamatongwe <unknown> | 2004-01-13 20:25:47 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-01-13 20:25:47 +0000 |
commit | b534149b1d3c3b1ef4f6e0dc836b0513dd5cd545 (patch) | |
tree | 4c520b693eedc7e27567552fecbd72bcc022a062 /src/Document.h | |
parent | 60590dd936b2cbbdce7d620e1fa52a0e10ecfb9c (diff) | |
download | scintilla-mirror-b534149b1d3c3b1ef4f6e0dc836b0513dd5cd545.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); } |