aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html5
-rw-r--r--src/Editor.cxx2
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index a77acf033..d6de74ec1 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -582,6 +582,11 @@
<li>
Fix potential issue with length of buffer for string returning APIs in ScintillaEdit on Qt.
</li>
+ <li>
+ Fix inaccurate scroll bar when there are annotations and wrapping of inserted or deleted text changes
+ number of screen lines.
+ <a href="https://sourceforge.net/p/scintilla/feature-requests/1422/">Feature #1422</a>.
+ </li>
</ul>
<h3>
<a href="https://www.scintilla.org/scintilla515.zip">Release 5.1.5</a>
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();
}
}