diff options
author | nyamatongwe <devnull@localhost> | 2010-07-07 03:23:11 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-07-07 03:23:11 +0000 |
commit | e22f3adce3febfcf393dd955ff4fbd7c9450eae4 (patch) | |
tree | bef1c6a09a5d08fabab930f9347cbc37eb1c1e68 /src/Editor.cxx | |
parent | 868cce0d1a4c856934a2380cb748782b11f95126 (diff) | |
download | scintilla-mirror-e22f3adce3febfcf393dd955ff4fbd7c9450eae4.tar.gz |
Redraw when annotations change.
DeleteAllMarks will only cause a modification notification when a mark was actually deleted.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 9761c10c9..ecac75118 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4354,6 +4354,7 @@ void Editor::NotifyModified(Document *, DocModification mh, void *) { int lineDoc = pdoc->LineFromPosition(mh.position); if (vs.annotationVisible) { cs.SetHeight(lineDoc, cs.GetHeight(lineDoc) + mh.annotationLinesAdded); + Redraw(); } } CheckModificationForWrap(mh); @@ -6374,6 +6375,7 @@ void Editor::SetAnnotationVisible(int visible) { } } } + Redraw(); } } |