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 __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"), ]