def on_post_text_command(self, view, command_name, args):
        if view.settings().get('is_widget'):
            return
        if not view.settings().get('auto_wrap', False):
            return

        if ['undo', 'soft_undo'] in command_name:
            self.reset_status()
dataset/ETHPy150Open randy3k/AutoWrap/autowrap.py/AutoWrapListener.on_post_text_command/swapped operands of `in`