def __init__(self, parent=None): """ Constructor @param parent parent widget of this lexer """ QsciLexerPOV.__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 """ QsciLexerPOV.__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 """ QsciLexerPOV.__init__(self, parent) Lexer.__init__(self) self.commentString = "//" self.streamCommentString = {'start': '/* ', 'end': ' */'} self.boxCommentString = {'start': '/* ', 'middle': ' * ', 'end': ' */'} self.keywordSetDescriptions = [ self.tr("Language directives"), self.tr("Objects & CSG & Appearance"), self.tr("Types & Modifiers & Items"), self.tr("Predefined Identifiers"), self.tr("Predefined Functions"), self.tr("User defined 1"), self.tr("User defined 2"), self.tr("User defined 3"), ]