Sublime Forum

Go to line on double click

#1

Hey there,

Currently enjoying Sublime 2. I wrote a little plugin to automate some of the more complex build processes needed by nmake (MS2008 C/C++ compiler).
There’s still a few more things to do, but right now I need the ability to process (double) mouse clicks on the text in the build console (at bottom aligned console generated by get_output_panel()).
Now I’m not sure if this is supposed to be handled by file_regex/line_regex or whatever (never could get that working) or if it isn’t supported at all, but if someone could please enlighten me.

I tried a couple of things, like mousemaps that pass on information to the a python script, but detecting whether or not the user clicks in the actual build console/panel/pane/whatever is pretty impossible at the moment (weird active view/window return IDS, etc).
Finding documentation is even worse, the build panel itself seems to be relatively undocumented.

-Thanks

0 Likes

#2

Yeah, you’re supposed to use those regexes.

0 Likes

#3

Well that’s unfortunate for me, can’t really get the regexes working :confused:
Lame that this functionality isn’t exposed to the plugin system.

Thanks though!

0 Likes