aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-04-19 13:21:08 +0000
committernyamatongwe <devnull@localhost>2007-04-19 13:21:08 +0000
commit8780a67905c9516b91ee014749ea791427075490 (patch)
treeaba5d8f3e3758feb0f7fba7256d2a4c01b54044b /src/Document.cxx
parent6f02bfd7333bd67d7e89531c9e80ee3b6d0915c7 (diff)
downloadscintilla-mirror-8780a67905c9516b91ee014749ea791427075490.tar.gz
Optimized indicator changing with separate SC_MOD_CHANGEINDICATOR
notification flag.
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);
}
}