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