aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx5
-rw-r--r--src/Editor.h1
2 files changed, 6 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) {
diff --git a/src/Editor.h b/src/Editor.h
index d5116f0de..181e1ffd4 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -369,6 +369,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void ShowCaretAtCurrentPosition();
void DropCaret();
void InvalidateCaret();
+ virtual void UpdateSystemCaret();
void NeedWrapping(int docLineStartWrapping = 0, int docLineEndWrapping = 0x7ffffff);
bool WrapLines(bool fullWrap, int priorityWrapLineStart);