27 """ |
27 """ |
28 QsciLexerPostScript.__init__(self, parent) |
28 QsciLexerPostScript.__init__(self, parent) |
29 Lexer.__init__(self) |
29 Lexer.__init__(self) |
30 |
30 |
31 self.commentString = "%" |
31 self.commentString = "%" |
|
32 |
|
33 self.keywordSetDescriptions = [ |
|
34 self.tr("PS Level 1 operators"), |
|
35 self.tr("PS Level 2 operators"), |
|
36 self.tr("PS Level 3 operators"), |
|
37 self.tr("RIP specific operators"), |
|
38 self.tr("User defined operators"), |
|
39 ] |
32 |
40 |
33 def initProperties(self): |
41 def initProperties(self): |
34 """ |
42 """ |
35 Public slot to initialize the properties. |
43 Public slot to initialize the properties. |
36 """ |
44 """ |