Created
October 22, 2012 13:59
-
-
Save vital101/3931634 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
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