MouseEventListener icon indicating copy to clipboard operation
MouseEventListener copied to clipboard

Fix #5 "Prevents text selection in console" on version >= 4149, since…

Open Mark-Joy opened this issue 1 year ago • 3 comments

… it supports "Mousemap contexts": https://github.com/sublimehq/sublime_text/issues/105#issuecomment-1533973675

Mark-Joy avatar Nov 18 '24 04:11 Mark-Joy

This package was made as a workaround for missing mousmap contexts. Now that they have been implemeted in core, the package itself isn't needed anymore, so instead of trying to fix this problem, I'd rather like to know why you are running into this problem in the first place (i.e. using this package) and whether you can get rid of this package.

FichteFoll avatar Nov 18 '24 10:11 FichteFoll

That said, I do understand that some old packages may still be indirectly using this package and as a way to ease the migration, I am inclined to merge this PR regardless but I also definitely want to update the readme to indicate that this package is redundant nowadays.

FichteFoll avatar Nov 18 '24 10:11 FichteFoll

Hi, sorry for the late reply. I am new to SublimeText, so it took a while for me to figure out what you've said. I used SidebarHoverToggle which depends MouseEventListener. I didn't know that we can detect 'click on gutter' without MouseEventListener. Apparently, it was not needed as you your code here just listens to 'on_text_command'.

And I didn't mean to include the second commit 'Expose click-event-arguments to on_post_mouse_down' in this pull request. I was just doing some development on my 'master' branch. Sorry, I am also new to github :D

Mark-Joy avatar Nov 23 '24 17:11 Mark-Joy