def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerIDL.__init__(self, parent) Lexer.__init__(self) self.commentString = "//" self.streamCommentString = {'start': '/* ', 'end': ' */'} self.boxCommentString = {'start': '/* ', 'middle': ' * ', 'end': ' */'}
def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerIDL.__init__(self, parent) Lexer.__init__(self) self.commentString = "//" self.streamCommentString = { 'start': '/* ', 'end': ' */' } self.boxCommentString = { 'start': '/* ', 'middle': ' * ', 'end': ' */' }
def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerIDL.__init__(self, parent) Lexer.__init__(self) self.commentString = "//" self.streamCommentString = {'start': '/* ', 'end': ' */'} self.boxCommentString = {'start': '/* ', 'middle': ' * ', 'end': ' */'} self.keywordSetDescriptions = [ self.tr("Primary keywords and identifiers"), self.tr("Secondary keywords and identifiers"), self.tr("Documentation comment keywords"), self.tr("Global classes and typedefs"), self.tr("Preprocessor definitions"), self.tr("Task marker and error marker keywords"), ]