示例#1
0
 def __init__(self, parent=None):
     """
     Constructor
     
     @param parent parent widget of this lexer
     """
     QsciLexerTCL.__init__(self, parent)
     Lexer.__init__(self)
     
     self.commentString = "#"
示例#2
0
    def __init__(self, parent=None):
        """
        Constructor
        
        @param parent parent widget of this lexer
        """
        QsciLexerTCL.__init__(self, parent)
        Lexer.__init__(self)

        self.commentString = "#"
示例#3
0
 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 QsciLexerTCL.keywords(self, kwSet)
示例#4
0
 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 QsciLexerTCL.keywords(self, kwSet)
示例#5
0
 def __init__(self, parent=None):
     """
     Constructor
     
     @param parent parent widget of this lexer
     """
     QsciLexerTCL.__init__(self, parent)
     Lexer.__init__(self)
     
     self.commentString = "#"
     
     self.keywordSetDescriptions = [
         self.tr("TCL Keywords"),
         self.tr("TK Keywords"),
         self.tr("iTCL Keywords"),
         self.tr("TK Commands"),
         self.tr("expand"),
         self.tr("User defined 1"),
         self.tr("User defined 2"),
         self.tr("User defined 3"),
         self.tr("User defined 4"),
     ]