--- a/Preferences/__init__.py Sun Feb 10 19:46:21 2013 +0100 +++ b/Preferences/__init__.py Mon Feb 11 14:08:08 2013 +0100 @@ -31,8 +31,6 @@ from E5Network.E5Ftp import E5FtpProxyType -import QScintilla.Lexers - from Globals import settingsNameOrganization, settingsNameGlobal, settingsNameRecent, \ isWindowsPlatform, isLinuxPlatform, findPython2Interpreters @@ -1708,6 +1706,8 @@ prefClass.settings.beginGroup("Editor/LexerAssociations") keyList = prefClass.settings.childKeys() prefClass.settings.endGroup() + + import QScintilla.Lexers editorLexerAssocDefaults = QScintilla.Lexers.getDefaultLexerAssociations() if len(keyList) == 0: