Added comment to the run() method

This commit is contained in:
H.B. Taylor 2012-02-08 17:33:41 -06:00
parent 73721049cb
commit c7e3288175
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ import json
s = sublime.load_settings("Pretty JSON.sublime-settings")
class PrettyjsonCommand(sublime_plugin.TextCommand):
""" Pretty Print JSON
"""
def run(self, edit):
for region in self.view.sel():
# If no selection, use the entire file as the selection