docs: def get_editor(self, file):
          """
          Returns the Model editor associated with given file.
  
          :param file: File to search editors for.
          :type file: unicode
          :return: Editor.
          :rtype: Editor
          """
  
          for editor in self.__model.list_editors():
              if editor.file == file:
                  return editor