From 87904678847c17c12c11727e03c042b53cd31f2d Mon Sep 17 00:00:00 2001 From: uhf7 Date: Mon, 3 Aug 2020 13:16:18 +1000 Subject: Bug [#2170]. Fixed cursor flicker when click past end of file and there is an indicator at file end. --- win32/ScintillaWin.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3