QScintilla/Editor.py

changeset 3204
c3e5015c15ee
parent 3201
0f115f6db6cb
child 3205
157dcfafc5d2
equal deleted inserted replaced
3203:61f05d1bf877 3204:c3e5015c15ee
5018 msg = err.text.strip() 5018 msg = err.text.strip()
5019 else: 5019 else:
5020 msg = err.msg 5020 msg = err.msg
5021 self.toggleSyntaxError(err.lineno, True, msg) 5021 self.toggleSyntaxError(err.lineno, True, msg)
5022 elif self.isPy2File() and self.fileName is not None: 5022 elif self.isPy2File() and self.fileName is not None:
5023 # FIXME: make this work with the current text
5023 syntaxError, _fn, errorline, errorindex, _code, _error, \ 5024 syntaxError, _fn, errorline, errorindex, _code, _error, \
5024 warnings = Utilities.py2compile( 5025 warnings = Utilities.py2compile(
5025 self.fileName, 5026 self.fileName,
5026 checkFlakes=Preferences.getFlakes( 5027 checkFlakes=Preferences.getFlakes(
5027 "IncludeInSyntaxCheck")) 5028 "IncludeInSyntaxCheck"))

eric ide

mercurial