aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-07-30 22:42:59 +0000
committernyamatongwe <devnull@localhost>2004-07-30 22:42:59 +0000
commit21d50ea1a6c9ef18d5b49c7afddd9d821926088a (patch)
tree8d071dd237a4e133a444945569c0a44fdd8c3445 /src/Editor.cxx
parent018bf038202dda06795772eaec178e33089067cd (diff)
downloadscintilla-mirror-21d50ea1a6c9ef18d5b49c7afddd9d821926088a.tar.gz
Patch from Ben Key to use an invisible system caret to enable screen
magnifiers to discover where the user is editing.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index eff38e63a..0ef69d1bf 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1394,6 +1394,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) {
Redraw();
}
}
+ UpdateSystemCaret();
}
void Editor::ShowCaretAtCurrentPosition() {
@@ -1418,6 +1419,10 @@ void Editor::InvalidateCaret() {
InvalidateRange(posDrag, posDrag + 1);
else
InvalidateRange(currentPos, currentPos + 1);
+ UpdateSystemCaret();
+}
+
+void Editor::UpdateSystemCaret() {
}
void Editor::NeedWrapping(int docLineStartWrapping, int docLineEndWrapping) {