def METHOD_NAME(self, doc, findOpenView=None):
    """Switch to a different document and remember the current cursor position."""
    self._remember(findOpenView)
    self.mainwindow().METHOD_NAME(doc, findOpenView)