diff options
author | uhf7 <unknown> | 2020-08-03 13:33:52 +1000 |
---|---|---|
committer | uhf7 <unknown> | 2020-08-03 13:33:52 +1000 |
commit | 33327930f7c87bc1ad620c89e506e341ccb2238a (patch) | |
tree | 71c3dc04e6b7cfbad317abf661cb9102612b5a66 /src/Editor.cxx | |
parent | 87904678847c17c12c11727e03c042b53cd31f2d (diff) | |
download | scintilla-mirror-33327930f7c87bc1ad620c89e506e341ccb2238a.tar.gz |
Bug [#2193]. Fixed bug where hovered indicator was not returning to non-hover
appearance when mouse moved out of window or into margin.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 1ece08feb..bc9b7e713 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4506,6 +4506,7 @@ void Editor::DwellEnd(bool mouseMoved) { void Editor::MouseLeave() { SetHotSpotRange(nullptr); + SetHoverIndicatorPosition(Sci::invalidPosition); if (!HaveMouseCapture()) { ptMouseLast = Point(-1, -1); DwellEnd(true); @@ -4874,6 +4875,7 @@ void Editor::ButtonMoveWithModifiers(Point pt, unsigned int, int modifiers) { if (PointInSelMargin(pt)) { DisplayCursor(GetMarginCursor(pt)); SetHotSpotRange(nullptr); + SetHoverIndicatorPosition(Sci::invalidPosition); return; // No need to test for selection } } |