aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index e0fc18162..13997de9f 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2007,6 +2007,7 @@ void Editor::ClearDocumentStyle() {
pdoc->StartStyling(0, '\377');
pdoc->SetStyleFor(pdoc->Length(), 0);
cs.ShowAll();
+ SetAnnotationHeights(0, pdoc->LinesTotal());
pdoc->ClearLevels();
}