From 5641f6ad8f8d319562f2a3c10fbd251ad2e300ef Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Thu, 16 Dec 2021 12:49:10 +1100 Subject: Feature [feature-requests:#1422] Fix scrollbar with annotations and wrapping. --- src/Editor.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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(); } } -- cgit v1.2.3