713 if code in ["E901", "E902"]: |
713 if code in ["E901", "E902"]: |
714 editor.toggleSyntaxError(lineno, 0, True, message, True) |
714 editor.toggleSyntaxError(lineno, 0, True, message, True) |
715 else: |
715 else: |
716 editor.toggleWarning( |
716 editor.toggleWarning( |
717 lineno, 0, True, message, warningType=editor.WarningStyle) |
717 lineno, 0, True, message, warningType=editor.WarningStyle) |
|
718 |
|
719 editor.updateVerticalScrollBar() |
718 |
720 |
719 @pyqtSlot() |
721 @pyqtSlot() |
720 def on_resultList_itemSelectionChanged(self): |
722 def on_resultList_itemSelectionChanged(self): |
721 """ |
723 """ |
722 Private slot to change the dialog state depending on the selection. |
724 Private slot to change the dialog state depending on the selection. |
759 Utilities.normabspath(itm.data(0, self.filenameRole))) |
761 Utilities.normabspath(itm.data(0, self.filenameRole))) |
760 for file in openFiles: |
762 for file in openFiles: |
761 if file not in errorFiles: |
763 if file not in errorFiles: |
762 editor = vm.getOpenEditor(file) |
764 editor = vm.getOpenEditor(file) |
763 editor.clearStyleWarnings() |
765 editor.clearStyleWarnings() |
|
766 |
|
767 editor = vm.activeWindow() |
|
768 editor.updateVerticalScrollBar() |
764 |
769 |
765 @pyqtSlot() |
770 @pyqtSlot() |
766 def on_statisticsButton_clicked(self): |
771 def on_statisticsButton_clicked(self): |
767 """ |
772 """ |
768 Private slot to show the statistics dialog. |
773 Private slot to show the statistics dialog. |