diff options
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 9d9b4b4f2..187503256 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3731,6 +3731,15 @@ void Editor::NotifyModified(Document*, DocModification mh, void *) {  	if (paintState == painting) {  		CheckForChangeOutsidePaint(Range(mh.position, mh.position + mh.length));  	} +	if (mh.modificationType & SC_MOD_CHANGELINESTATE) { +		if (paintState == painting) { +			CheckForChangeOutsidePaint( +				Range(pdoc->LineStart(mh.line), pdoc->LineStart(mh.line+1))); +		} else { +			// Could check that change is before last visible line. +			Redraw(); +		} +	}  	if (mh.modificationType & (SC_MOD_CHANGESTYLE|SC_MOD_CHANGEINDICATOR)) {  		if (mh.modificationType & SC_MOD_CHANGESTYLE) {  			pdoc->IncrementStyleClock(); | 
