Created
August 9, 2014 20:10
-
-
Save talitore/1b38a8949a6f692aa31d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin | |
class SearchScriptReferenceCommand(sublime_plugin.TextCommand): | |
def run(self, edit): | |
first_s = self.view.sel()[0] | |
data = self.view.substr(first_s) | |
test(data) | |
def test(data): | |
print(data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment