Home Download Buy Blog Forum Support

Api for Bubble popup?

Api for Bubble popup?

Postby impaler on Sat Jul 06, 2013 3:34 am

Hello, loving sublime text and was wondering if the api for the fancy bubble popup "ctrl+super+d" that searches dictionary/wikipedia etc was exposed to plugins?

Cant seem to find mention of it in the api page and nothing comes up in searches.

Cheers.
impaler
 
Posts: 2
Joined: Sat Jul 06, 2013 3:30 am

Re: Api for Bubble popup?

Postby iamntz on Sat Jul 06, 2013 5:19 am

iamntz
 
Posts: 918
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Api for Bubble popup?

Postby impaler on Sat Jul 06, 2013 8:36 am

Thanks iamntz, that's hilarious! *relatively new mac user here

If this is an osx native api then I guess it would have to be compiled with sublime itself, sublime being closed source this wont happen easily. That is if apple even exposes it :(
impaler
 
Posts: 2
Joined: Sat Jul 06, 2013 3:30 am

Re: Api for Bubble popup?

Postby svenax on Wed Jul 17, 2013 9:33 am

Well, Apple's API documentation is here https://developer.apple.com/library/mac ... rence.html, and you can get a Python wrapper by installing PyObjC from here http://pythonhosted.org/pyobjc/, and then the Dictionary Service wrapper from here https://pypi.python.org/pypi/pyobjc-fra ... rvices/2.3.
svenax
 
Posts: 155
Joined: Tue Dec 20, 2011 12:47 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 6 guests