eric6/Preferences/PreferencesLexer.py

changeset 8218
7c09585bd960
parent 7923
91e843545d9a
child 8234
fcb6b4b96274
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
75 @type str 75 @type str
76 @param parent parent widget of this lexer (QWidget) 76 @param parent parent widget of this lexer (QWidget)
77 @exception PreferencesLexerLanguageError raised to indicate an invalid 77 @exception PreferencesLexerLanguageError raised to indicate an invalid
78 lexer language 78 lexer language
79 """ 79 """
80 super(PreferencesLexer, self).__init__(parent) 80 super().__init__(parent)
81 81
82 # These default font families are taken from QScintilla 82 # These default font families are taken from QScintilla
83 if Globals.isWindowsPlatform(): 83 if Globals.isWindowsPlatform():
84 self.__defaultFontFamily = "Courier New" 84 self.__defaultFontFamily = "Courier New"
85 elif Globals.isMacPlatform(): 85 elif Globals.isMacPlatform():

eric ide

mercurial