[quote=“adzenith”]I’m really excited about the mouse commands!
Quick question: if I log_commands and click around, it prints a fair amount of information:
command: mouse_test {"event": {"button": 1, "x": 426, "y": 246}, "subtractive": true}
But if I make a test command, and print out the args and kwargs, I don’t get any of that sweet mouse information:
code
(‘kwargs:’, {‘subtractive’: True})
[/code]
Is there any way to access this? Perhaps also a command like view.rowcol(x_coord, y_coord)?[/quote]
The event parameter is stripped out in sublime_plugin.py, I’ve got nothing against including it, but as you say, it’ll need some corresponding API commands that deal with screen coordinates.