def defaultColor(self, style):
     """
     Public method to get the default foreground color for a style.
     
     @param style style number (integer)
     @return foreground color (QColor)
     """
     try:
         return self.defaultColors[style]
     except KeyError:
         return LexerContainer.defaultColor(self, style)
Ejemplo n.º 2
0
 def defaultColor(self, style):
     """
     Public method to get the default foreground color for a style.
     
     @param style style number (integer)
     @return foreground color (QColor)
     """
     try:
         return self.defaultColors[style]
     except KeyError:
         return LexerContainer.defaultColor(self, style)