diff options
author | uhf7 <unknown> | 2020-08-03 13:16:18 +1000 |
---|---|---|
committer | uhf7 <unknown> | 2020-08-03 13:16:18 +1000 |
commit | c721515c2aaadfa745fba564a05cfc90460654eb (patch) | |
tree | b2d9fa0f33d7230fa3da4ccc100c5eaa3e447773 | |
parent | 53be1f1843bca71f99ae15af339b6c0b1408d212 (diff) | |
download | scintilla-mirror-c721515c2aaadfa745fba564a05cfc90460654eb.tar.gz |
Backport: Bug [#2170]. Fixed cursor flicker when click past end of file and there is an
indicator at file end.
Backport of changeset 8471:34147e899966.
-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; |