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/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index c13398b31..f02ce2b6a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3452,6 +3452,7 @@ void Editor::NotifyModified(Document*, DocModification mh, void *) { CheckForChangeOutsidePaint(Range(mh.position, mh.position + mh.length)); } if (mh.modificationType & SC_MOD_CHANGESTYLE) { + pdoc->IncrementStyleClock(); if (paintState == notPainting) { if (mh.position < pdoc->LineStart(topLine)) { // Styling performed before this view -- cgit v1.2.3