From 32b3fe6a08b19cdb35d376fc73aa8adcd5f525bf Mon Sep 17 00:00:00 2001 From: Damiano Lombardi Date: Sun, 16 May 2021 08:57:16 +1000 Subject: Include modifiers in SCN_INDICATORRELEASE notification. --- doc/ScintillaHistory.html | 5 +++++ src/Editor.cxx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index d9154f97c..4d8d0dcda 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -560,6 +560,7 @@ cshnik Petko Georgiev YX Hao + Damiano Lombardi

@@ -622,6 +623,10 @@ Feature #1379.

  • + Include modifiers in SCN_INDICATORRELEASE notification. + Bug #2254. +
  • +
  • On Win32 enable hardware-enforced stack protection. Feature #1405.
  • diff --git a/src/Editor.cxx b/src/Editor.cxx index 234e40700..8f5903dd5 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4944,7 +4944,7 @@ void Editor::ButtonUpWithModifiers(Point pt, unsigned int curTime, int modifiers ptMouseLast = pt; SetMouseCapture(false); FineTickerCancel(TickReason::scroll); - NotifyIndicatorClick(false, newPos.Position(), 0); + NotifyIndicatorClick(false, newPos.Position(), modifiers); if (inDragDrop == DragDrop::dragging) { const SelectionPosition selStart = SelectionStart(); const SelectionPosition selEnd = SelectionEnd(); -- cgit v1.2.3