示例#1
0
 def __init__(self, parent=None):
     """
     Constructor
     
     @param parent parent widget of this lexer
     """
     QsciLexerPostScript.__init__(self, parent)
     Lexer.__init__(self)
     
     self.commentString = "%"
 def __init__(self, parent=None):
     """
     Constructor
     
     @param parent parent widget of this lexer
     """
     QsciLexerPostScript.__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 QsciLexerPostScript.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 QsciLexerPostScript.keywords(self, kwSet)
示例#5
0
 def __init__(self, parent=None):
     """
     Constructor
     
     @param parent parent widget of this lexer
     """
     QsciLexerPostScript.__init__(self, parent)
     Lexer.__init__(self)
     
     self.commentString = "%"
     
     self.keywordSetDescriptions = [
         self.tr("PS Level 1 operators"),
         self.tr("PS Level 2 operators"),
         self.tr("PS Level 3 operators"),
         self.tr("RIP specific operators"),
         self.tr("User defined operators"),
     ]