Saves the editor file content.

        :return: Method success.
        :rtype: bool

def save_file(self):
        """
        Saves the editor file content.

        :return: Method success.
        :rtype: bool
        """

        if not self.__is_untitled and foundations.common.path_exists(self.__file):
            return self.write_file(self.__file)
        else:
            return self.save_fileAs()