9412:45e7bb09c120 | 9413:80c06d472826 |
---|---|
7 Module implementing mimetype dependent functions. | 7 Module implementing mimetype dependent functions. |
8 """ | 8 """ |
9 | 9 |
10 import mimetypes | 10 import mimetypes |
11 | 11 |
12 import Preferences | 12 from eric7 import Preferences |
13 | 13 |
14 | 14 |
15 def isTextFile(filename): | 15 def isTextFile(filename): |
16 """ | 16 """ |
17 Function to test, if the given file is a text (i.e. editable) file. | 17 Function to test, if the given file is a text (i.e. editable) file. |