aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2021-12-16 12:49:10 +1100
committerZufu Liu <unknown>2021-12-16 12:49:10 +1100
commit5641f6ad8f8d319562f2a3c10fbd251ad2e300ef (patch)
tree99bce8517a4968b8f8c1a37d1725635a336d4c8a /src/Editor.cxx
parent89bad0a356d4445a0946ad56e2803b39c419fa51 (diff)
downloadscintilla-mirror-5641f6ad8f8d319562f2a3c10fbd251ad2e300ef.tar.gz
Feature [feature-requests:#1422] Fix scrollbar with annotations and wrapping.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index a47c9ce0d..a4d60019f 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5290,6 +5290,8 @@ void Editor::SetAnnotationHeights(Sci::Line start, Sci::Line end) {
changedHeight = true;
}
if (changedHeight) {
+ SetScrollBars();
+ SetVerticalScrollPos();
Redraw();
}
}