52 |
52 |
53 self.__tryRX = QRegExp(r"""^[ \t]*try:""") |
53 self.__tryRX = QRegExp(r"""^[ \t]*try:""") |
54 self.__finallyRX = QRegExp(r"""^[ \t]*finally:""") |
54 self.__finallyRX = QRegExp(r"""^[ \t]*finally:""") |
55 self.__exceptRX = QRegExp(r"""^[ \t]*except """) |
55 self.__exceptRX = QRegExp(r"""^[ \t]*except """) |
56 self.__exceptcRX = QRegExp(r"""^[ \t]*except:""") |
56 self.__exceptcRX = QRegExp(r"""^[ \t]*except:""") |
57 # __IGNORE_WARNING_M121__ |
|
58 |
57 |
59 self.__whileRX = QRegExp(r"""^[ \t]*while """) |
58 self.__whileRX = QRegExp(r"""^[ \t]*while """) |
60 self.__forRX = QRegExp(r"""^[ \t]*for """) |
59 self.__forRX = QRegExp(r"""^[ \t]*for """) |
61 |
60 |
62 self.readSettings() |
61 self.readSettings() |