Open old9 opened 3 years ago
When recorded and then played back in a macro, wrap with abbreviation reports an error in the console:
'EmmetWrapWithAbbreviation' object has no attribute 'wrap_entries'
It seem that some logic like this is missing in the def run block: https://github.com/emmetio/sublime-text-plugin/blob/843b50ed6dabe959d8f30ca7e78a956f31090246/main.py#L355-L379
def run
When emmet_wrap_with_abbreviation is directly called from within a macro, wrap_entries is undefined then.
emmet_wrap_with_abbreviation
wrap_entries
And since wrap_entries is always picked from the state of last widget input, it may also lead to other unexpected results?
When recorded and then played back in a macro, wrap with abbreviation reports an error in the console:
'EmmetWrapWithAbbreviation' object has no attribute 'wrap_entries'
It seem that some logic like this is missing in the
def run
block: https://github.com/emmetio/sublime-text-plugin/blob/843b50ed6dabe959d8f30ca7e78a956f31090246/main.py#L355-L379When
emmet_wrap_with_abbreviation
is directly called from within a macro,wrap_entries
is undefined then.And since
wrap_entries
is always picked from the state of last widget input, it may also lead to other unexpected results?