comment: better phantom handling

This commit is contained in:
TheSecEng 2020-04-15 13:32:19 -04:00
parent 7ee91d7feb
commit 72adbd6a18
No known key found for this signature in database
GPG Key ID: A7C3BA459E8C5C4E
1 changed files with 4 additions and 0 deletions

View File

@ -153,6 +153,10 @@ class PrettyJsonBaseCommand:
self.highlight_error(region=region, message="{}".format(msg))
def highlight_error(self, region, message):
# TODO: Reimplement
# - Move this into a global handler
# - so that we can generate multiple phantoms
# - across multi selections
self.phantom_set = sublime.PhantomSet(self.view, "json_errors")
self.phantoms = list()