diff options
author | uhf7 <unknown> | 2020-08-03 13:16:18 +1000 |
---|---|---|
committer | uhf7 <unknown> | 2020-08-03 13:16:18 +1000 |
commit | 87904678847c17c12c11727e03c042b53cd31f2d (patch) | |
tree | 345a6c97f36e54aa7357596ccc4a93dfc839a554 | |
parent | 9799d8156be56c0e10ae3a5b802e6144278a223e (diff) | |
download | scintilla-mirror-87904678847c17c12c11727e03c042b53cd31f2d.tar.gz |
Bug [#2170]. Fixed cursor flicker when click past end of file and there is an
indicator at file end.
-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 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; |