def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerTCL.__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 QsciLexerTCL.keywords(self, kwSet)
def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerTCL.__init__(self, parent) Lexer.__init__(self) self.commentString = "#" self.keywordSetDescriptions = [ self.tr("TCL Keywords"), self.tr("TK Keywords"), self.tr("iTCL Keywords"), self.tr("TK Commands"), self.tr("expand"), self.tr("User defined 1"), self.tr("User defined 2"), self.tr("User defined 3"), self.tr("User defined 4"), ]