diff options
Diffstat (limited to 'src/Document.cxx')
| -rw-r--r-- | src/Document.cxx | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/src/Document.cxx b/src/Document.cxx index 964d4808b..a25e3070d 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1340,6 +1340,17 @@ 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, +							position, fillLength); +		NotifyModified(mh); +	} else { +		DocModification mh(SC_MOD_CHANGESTYLE | SC_PERFORMED_USER, +							position, fillLength); +	} +} +  bool Document::AddWatcher(DocWatcher *watcher, void *userData) {  	for (int i = 0; i < lenWatchers; i++) {  		if ((watchers[i].watcher == watcher) && | 
