QScintilla/Editor.py

changeset 3211
bb350913a76a
parent 3207
6cf664694e3c
child 3261
b8fee972444b
equal deleted inserted replaced
3210:8f4fe6f76729 3211:bb350913a76a
5044 int(errorline), int(errorindex), True, _error) 5044 int(errorline), int(errorindex), True, _error)
5045 else: 5045 else:
5046 from Utilities.pyflakes.translations import \ 5046 from Utilities.pyflakes.translations import \
5047 getTranslatedFlakesMessage 5047 getTranslatedFlakesMessage
5048 for warning in warnings: 5048 for warning in warnings:
5049 self.toggleWarning( 5049 if len(warning[2]) == 3:
5050 int(warning[1]), True, getTranslatedFlakesMessage( 5050 msg = getTranslatedFlakesMessage(warning[2],
5051 warning[2], warning[3])) 5051 warning[3])
5052 else:
5053 msg = warning[2]
5054 self.toggleWarning(int(warning[1]), True, msg)
5052 5055
5053 def __initOnlineSyntaxCheck(self): 5056 def __initOnlineSyntaxCheck(self):
5054 """ 5057 """
5055 Private slot to initialize the online syntax check. 5058 Private slot to initialize the online syntax check.
5056 """ 5059 """

eric ide

mercurial