Skip to content

Commit

Permalink
Added explicit decrement action
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeche committed Sep 6, 2020
1 parent de930da commit 963e315
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ def run(self, edit, delta=1):
inc_dec.update(self.view, edit, delta)
track_action('Increment number', 'delta', delta)

class EmmetDecrementNumber(sublime_plugin.TextCommand):
def run(self, edit, delta=1):
inc_dec.update(self.view, edit, -delta)
track_action('Increment number', 'delta', delta)


class EmmetRemoveTag(sublime_plugin.TextCommand):
def run(self, edit):
Expand Down

0 comments on commit 963e315

Please sign in to comment.