aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-05-14 10:32:49 +1000
committerNeil <nyamatongwe@gmail.com>2016-05-14 10:32:49 +1000
commit5a9f941bc10507eab2e352978bd7f35ca26920dc (patch)
tree9950448dbd837900214f4b85e892304b2492fcb4 /src/Editor.cxx
parent4aa5bca9aceb2131947bd2e75db379ce1039ae4b (diff)
downloadscintilla-mirror-5a9f941bc10507eab2e352978bd7f35ca26920dc.tar.gz
Post a caret moved accessibility event in Editor::MovedCaret so that screen
readers like NVDA will speak when extending the selection with a Shift+Down key combination scrolls but does not move the caret position relative to the screen.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 9a41bab09..125399622 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -828,6 +828,7 @@ void Editor::MovedCaret(SelectionPosition newPos, SelectionPosition previousPos,
}
ShowCaretAtCurrentPosition();
+ NotifyCaretMove();
ClaimSelection();
SetHoverIndicatorPosition(sel.MainCaret());
@@ -1437,6 +1438,9 @@ void Editor::InvalidateCaret() {
UpdateSystemCaret();
}
+void Editor::NotifyCaretMove() {
+}
+
void Editor::UpdateSystemCaret() {
}