Home Download Buy Blog Forum Support

Bookmarks or Hyperlinks

Bookmarks or Hyperlinks

Postby bphunter1972 on Tue Apr 16, 2013 6:11 pm

I'd like to write a plugin that creates a buffer full of hyperlinks to other sublime views: double click on this line, sublime takes you to a line number in a file. The "Find in Files" command does this, for example.

Darned if I can figure out how to do that, though. Getting it to show the view and line are a piece of cake--but how do I trigger it? I feel like there should be an on_click or on_double_click event listener. I'm pretty sure that bookmarks aren't what I want.

Any help would be super appreciated.
Posts: 24
Joined: Mon Mar 25, 2013 5:02 am
Location: San Jose, CA USA

Re: Bookmarks or Hyperlinks

Postby skuroda on Wed Apr 17, 2013 1:22 am

You might want to take a look at SublimeTODO. Keep in mind though that there is only a single mouse map. There is no context or anything like that for mouse operations. So what you do will override some built in functionality.
Posts: 692
Joined: Fri Oct 05, 2012 8:11 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 28 guests