Esempio n. 1
0
    def __init__(self, parent=None):

        QsciLexerCMake.__init__(self, parent)
        Lexer.__init__(self)

        self.commentString = "#"
        return
Esempio n. 2
0
    def __init__( self, parent = None ):

        QsciLexerCMake.__init__( self, parent )
        Lexer.__init__( self )

        self.commentString = "#"
        return
 def __init__(self, parent=None):
     """
     Constructor
     
     @param parent parent widget of this lexer
     """
     QsciLexerCMake.__init__(self, parent)
     Lexer.__init__(self)
     
     self.commentString = QString("#")
 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 QsciLexerCMake.keywords(self, kwSet)
Esempio n. 5
0
        print "color" + str( style ) + "=" + colorToString( lexer.color( style ) )
        print "paper" + str( style ) + "=" + colorToString( lexer.paper( style ) )
        print "eolFill" + str( style ) + "=" + str( lexer.eolFill( style ) )
        print "font" + str( style ) + "=" + lexer.font( style ).toString()
        indexes.append( str( style ) )

    print "indexes=" + ",".join( indexes )
    print ""
    return


dumpLexer( QsciLexerPython() )
dumpLexer( QsciLexerBash() )
dumpLexer( QsciLexerBatch() )
dumpLexer( QsciLexerCMake() )
dumpLexer( QsciLexerCPP() )
dumpLexer( QsciLexerCSharp() )
dumpLexer( QsciLexerCSS() )
dumpLexer( QsciLexerDiff() )
dumpLexer( QsciLexerD() )
dumpLexer( QsciLexerFortran77() )
dumpLexer( QsciLexerFortran() )
dumpLexer( QsciLexerHTML() )
dumpLexer( QsciLexerIDL() )
dumpLexer( QsciLexerJava() )
dumpLexer( QsciLexerJavaScript() )
dumpLexer( QsciLexerLua() )
dumpLexer( QsciLexerMakefile() )
dumpLexer( QsciLexerPascal() )
dumpLexer( QsciLexerPerl() )