aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx5
1 files changed, 1 insertions, 4 deletions
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);
}
}