'Restores the viewport (and file) from before the quickpanel'

def _restore_viewport(self):

    self._remove_highlight()
    self.window.focus_view(self.view)
    self.view.set_viewport_position(self.viewport_position, False)
