aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDamiano Lombardi <unknown>2021-05-16 08:57:16 +1000
committerDamiano Lombardi <unknown>2021-05-16 08:57:16 +1000
commit32b3fe6a08b19cdb35d376fc73aa8adcd5f525bf (patch)
tree9fcc0a4e0b6dffdf64a2177dcf8c97ea9a892023
parent8710c258ac84500e2a0e233aa9f8fbebbc8b323b (diff)
downloadscintilla-mirror-32b3fe6a08b19cdb35d376fc73aa8adcd5f525bf.tar.gz
Include modifiers in SCN_INDICATORRELEASE notification.
-rw-r--r--doc/ScintillaHistory.html5
-rw-r--r--src/Editor.cxx2
2 files changed, 6 insertions, 1 deletions
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 @@
<td>cshnik</td>
<td>Petko Georgiev</td>
<td>YX Hao</td>
+ <td>Damiano Lombardi</td>
</tr>
</table>
<p>
@@ -622,6 +623,10 @@
<a href="https://sourceforge.net/p/scintilla/feature-requests/1379/">Feature #1379</a>.
</li>
<li>
+ Include modifiers in SCN_INDICATORRELEASE notification.
+ <a href="https://sourceforge.net/p/scintilla/bugs/2254/">Bug #2254</a>.
+ </li>
+ <li>
On Win32 enable hardware-enforced stack protection.
<a href="https://sourceforge.net/p/scintilla/feature-requests/1405/">Feature #1405</a>.
</li>
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();