diff options
-rw-r--r-- | win32/ScintillaWin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 11f411ba2..6d2f5ce08 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1363,7 +1363,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; |