aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-01-13 09:53:14 +1100
committerNeil <nyamatongwe@gmail.com>2014-01-13 09:53:14 +1100
commit277f1de6e80bfc2cbb1eb0ab20a88f6e91cdf32f (patch)
treee9de4dbef51b79b91a12a73a9be0e6b9e1caee17
parentd8ba29f4960d601878e1b10be14c71b1df28f942 (diff)
downloadscintilla-mirror-277f1de6e80bfc2cbb1eb0ab20a88f6e91cdf32f.tar.gz
Update the system caret position when scrolling to help screen readers
see the scroll quickly.
-rw-r--r--doc/ScintillaHistory.html4
-rw-r--r--win32/ScintillaWin.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index db85e443d..ec1e76982 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -492,6 +492,10 @@
Send SCN_UPDATEUI with SC_UPDATE_SELECTION for Shift+Tab inside text.
</li>
<li>
+ On Windows update the system caret position when scrolling to help screen readers
+ see the scroll quickly.
+ </li>
+ <li>
SciTE displays a warning message when asked to open a directory.
<a href="http://sourceforge.net/p/scintilla/bugs/1568/">Bug #1568</a>.
</li>
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 8794c9613..2f11a0cc2 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1299,6 +1299,7 @@ void ScintillaWin::ScrollText(int /* linesToMove */) {
// vs.lineHeight * linesToMove, 0, 0);
//::UpdateWindow(MainHWND());
Redraw();
+ UpdateSystemCaret();
}
void ScintillaWin::UpdateSystemCaret() {