diff -r 6d6a0e5f65ca -r 34fc53e6159d src/eric7/Utilities/MimeTypes.py --- a/src/eric7/Utilities/MimeTypes.py Sun Dec 04 10:34:43 2022 +0100 +++ b/src/eric7/Utilities/MimeTypes.py Sun Dec 04 11:58:37 2022 +0100 @@ -22,6 +22,9 @@ @rtype bool """ mimetype = mimetypes.guess_type(filename)[0] + # TODO: add a dialog to ask if the file is a text file in case mimetype is None + # and option is not set + # TODO: add capability to define additional text file patterns for fnmatch test return (mimetype is None and Preferences.getUI("LoadUnknownMimeTypeFiles")) or ( mimetype is not None and (