def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerPostScript.__init__(self, parent) Lexer.__init__(self) self.commentString = "%"
def defaultKeywords(self, kwSet): """ Public method to get the default keywords. @param kwSet number of the keyword set (integer) @return string giving the keywords (string) or None """ return QsciLexerPostScript.keywords(self, kwSet)
def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerPostScript.__init__(self, parent) Lexer.__init__(self) self.commentString = "%" self.keywordSetDescriptions = [ self.tr("PS Level 1 operators"), self.tr("PS Level 2 operators"), self.tr("PS Level 3 operators"), self.tr("RIP specific operators"), self.tr("User defined operators"), ]