Skip to content

Instantly share code, notes, and snippets.

@vital101
Created October 22, 2012 13:59
Show Gist options
  • Save vital101/3931634 to your computer and use it in GitHub Desktop.
Save vital101/3931634 to your computer and use it in GitHub Desktop.
def run(self, edit):
urls = []
selections = self.view.sel()
for selection in selections:
urls.append(self.view.substr(selection))
messages = self.validate_urls(urls)
self.show_quick_panel(messages, self.view.window())
def show_quick_panel(self, messages, window):
window.show_quick_panel(messages, None, sublime.MONOSPACE_FONT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment