docs: def save_current(self):
          """
          Save current editor. If the editor.file.path is None, a save as dialog
          will be shown.
          """
          if self.current_widget() is not None:
              editor = self.current_widget()
              self._save(editor)