Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions PythonScript/src/ScintillaWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ void ScintillaWrapper::notify(SCNotification *notifyCode)
case SCN_MARGINCLICK:
params["margin"] = notifyCode->margin;
params["position"] = notifyCode->position;
params["modifiers"] = notifyCode->modifiers;
break;

case SCN_MARGINRIGHTCLICK:
params["margin"] = notifyCode->margin;
params["position"] = notifyCode->position;
params["modifiers"] = notifyCode->modifiers;
break;

Expand Down
6 changes: 5 additions & 1 deletion docs/source/enums.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ SCINTILLANOTIFICATION

.. attribute:: SCINTILLANOTIFICATION.MARGINCLICK

Arguments contains: ``margin``
Arguments contains: ``modifiers``, ``position``, ``margin``

.. attribute:: SCINTILLANOTIFICATION.MARGINRIGHTCLICK

Arguments contains: ``modifiers``, ``position``, ``margin``

.. attribute:: SCINTILLANOTIFICATION.NEEDSHOWN

Expand Down