hi, I’m implementing a plug-in to do latex forward search. Is there an api for detecting double click or e.g. ctrl+single-click and return the current line number?
Mouse click api
Clams
#2
There is no API, you just bind a button to a button (the same way you bind a key). This is done in the .sublime-mousemap.
You can have a look at github.com/SublimeText/MouseEve … 20(Windows.sublime-mousemap to get some ideas
0 Likes