def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerLua.__init__(self, parent) Lexer.__init__(self) self.commentString = "--" self.streamCommentString = {'start': '--[[ ', 'end': ' ]]--'}
def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerLua.__init__(self, parent) Lexer.__init__(self) self.commentString = "--" self.streamCommentString = { 'start': '--[[ ', 'end': ' ]]--' }
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 QsciLexerLua.keywords(self, kwSet)
def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerLua.__init__(self, parent) Lexer.__init__(self) self.commentString = "--" self.streamCommentString = {'start': '--[[ ', 'end': ' ]]--'} self.keywordSetDescriptions = [ self.tr("Keywords"), self.tr("Basic functions"), self.tr("String, (table) & math functions"), self.tr("Coroutines, I/O & system facilities"), self.tr("User defined 1"), self.tr("User defined 2"), self.tr("User defined 3"), self.tr("User defined 4"), ]