aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-08-05 09:50:44 +1000
committerNeil <nyamatongwe@gmail.com>2014-08-05 09:50:44 +1000
commit5e8cb7f1926c42aa6dae5683d60a2aad32fe88bd (patch)
tree8c968f98c79be05314a9b275ff521755b56f7ef6 /src
parentdd32e2085f1921e9b5f97c1c20180db8f68c1a91 (diff)
downloadscintilla-mirror-5e8cb7f1926c42aa6dae5683d60a2aad32fe88bd.tar.gz
Fix problem where annotations disappeared when SCI_CLEARDOCUMENTSTYLE called.
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();
}