Skip to content

Instantly share code, notes, and snippets.

@vital101
Created October 19, 2012 19:18
Show Gist options
  • Save vital101/3920122 to your computer and use it in GitHub Desktop.
Save vital101/3920122 to your computer and use it in GitHub Desktop.
Sublime Text 2 Plugin: Hello World
urls = []
selections = self.view.sel()
for selection in selections:
urls.append(self.view.substr(selection))
messages = self.validate_urls(urls)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment