def setup(): if int(sublime.version()) < 3000: # Sublime Text 2 & Python 2.6 pass else: # Sublime Text 3 & Python 3.3 globalhook.setup(sublime.arch() == 'x64')
def setup(hwnd): if int(sublime.version()) < 3000: pass else: # load dll globalhook.setup(hwnd, sublime.arch() == 'x64')
def setup(): if int(sublime.version()) < 3000: # Sublime Text 2 & Python 2.6 messagehook.setup(callback) else: # Sublime Text 3 & Python 3.3 globalhook.setup(sublime.arch() == 'x64')