aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--win32/ScintillaWin.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index ce6f8279e..ef219ddce 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1375,7 +1375,10 @@ Window::Cursor ScintillaWin::ContextCursor(Point pt) {
} else if (PointIsHotspot(pt)) {
return Window::cursorHand;
} else if (hoverIndicatorPos != Sci::invalidPosition) {
- return Window::cursorHand;
+ const Sci::Position pos = PositionFromLocation(pt, true, true);
+ if (pos != Sci::invalidPosition) {
+ return Window::cursorHand;
+ }
}
}
return Window::cursorText;