From 277f1de6e80bfc2cbb1eb0ab20a88f6e91cdf32f Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 13 Jan 2014 09:53:14 +1100 Subject: Update the system caret position when scrolling to help screen readers see the scroll quickly. --- doc/ScintillaHistory.html | 4 ++++ win32/ScintillaWin.cxx | 1 + 2 files changed, 5 insertions(+) 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.
  • + On Windows update the system caret position when scrolling to help screen readers + see the scroll quickly. +
  • +
  • SciTE displays a warning message when asked to open a directory. Bug #1568.
  • 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() { -- cgit v1.2.3