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. |