From f1eb7da396f7a856006c15254216b5867ea23bc9 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 19 Apr 2007 13:21:08 +0000 Subject: Optimized indicator changing with separate SC_MOD_CHANGEINDICATOR notification flag. --- src/Document.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index 3061bbc37..753d325ef 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1344,12 +1344,9 @@ void Document::IncrementStyleClock() { void Document::DecorationFillRange(int position, int value, int fillLength) { if (decorations.FillRange(position, value, fillLength)) { - DocModification mh(SC_MOD_CHANGESTYLE | SC_PERFORMED_USER, + DocModification mh(SC_MOD_CHANGEINDICATOR | SC_PERFORMED_USER, position, fillLength); NotifyModified(mh); - } else { - DocModification mh(SC_MOD_CHANGESTYLE | SC_PERFORMED_USER, - position, fillLength); } } -- cgit v1.2.3