Plugins/CheckerPlugins/Pep8/Pep8Dialog.py

changeset 2905
a1ae4b297bc0
parent 2904
1da821da961e
child 2914
6b30a602e404
equal deleted inserted replaced
2904:1da821da961e 2905:a1ae4b297bc0
597 editor = vm.getOpenEditor(fn) 597 editor = vm.getOpenEditor(fn)
598 598
599 if code == "E901": 599 if code == "E901":
600 editor.toggleSyntaxError(lineno, 0, True, message, True) 600 editor.toggleSyntaxError(lineno, 0, True, message, True)
601 else: 601 else:
602 editor.toggleFlakesWarning(lineno, True, message) 602 editor.toggleFlakesWarning(
603 lineno, True, message, warningType=editor.WarningStyle)
603 604
604 @pyqtSlot() 605 @pyqtSlot()
605 def on_resultList_itemSelectionChanged(self): 606 def on_resultList_itemSelectionChanged(self):
606 """ 607 """
607 Private slot to change the dialog state depending on the selection. 608 Private slot to change the dialog state depending on the selection.

eric ide

mercurial