From b534149b1d3c3b1ef4f6e0dc836b0513dd5cd545 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 13 Jan 2004 20:25:47 +0000 Subject: When styling is performed outside a styleneeded event, increment the style clock so the layout cache is invalidated and so the styling is displayed. --- src/Document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Document.h') 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); } -- cgit v1.2.3