def defaultFont(self, style): if style == self.Default: return Global.getDefaultFont() elif style == self.NewText: return Global.getDefaultFont() elif style == self.DeletedText: return Global.getDefaultFont() elif style == self.ReplacedText: return Global.getDefaultFont() elif style == self.LineNumber: return Global.getDefaultFont() return QsciLexerCustom.defaultFont(self, style)
def defaultFont(self, style): if style == self.Default: return Global.getDefaultFont() elif style == self.ErrorInfo: return Global.getDefaultFont() elif style == self.OutputInfo: return Global.getDefaultFont() elif style == self.ExitInfo: return Global.getDefaultFont() elif style == self.Start: return Global.getDefaultFont() return QsciLexerCustom.defaultFont(self, style)
def defaultFont(self, style): if style in self._trmLexer['Font']: return self._trmLexer['Font'][style] return QsciLexerCustom.defaultFont(self, style)