def restore(self):
        e = self.editor

        e.current_style = self._style
        e.show_line_numbers = self._show_line_numbers
        e.highlight_search = self._highlight_search
        e.show_ruler = self._show_ruler
        e.relative_number = self._relative_number
Focus of Vi command line lost, undo preview.
dataset/ETHPy150Open jonathanslenders/pyvim/pyvim/commands/preview.py/CommandPreviewer.restore