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 = vm.activeWindow() |
|
720 editor.updateVerticalScrollBar() |
718 |
721 |
719 @pyqtSlot() |
722 @pyqtSlot() |
720 def on_resultList_itemSelectionChanged(self): |
723 def on_resultList_itemSelectionChanged(self): |
721 """ |
724 """ |
722 Private slot to change the dialog state depending on the selection. |
725 Private slot to change the dialog state depending on the selection. |
759 Utilities.normabspath(itm.data(0, self.filenameRole))) |
762 Utilities.normabspath(itm.data(0, self.filenameRole))) |
760 for file in openFiles: |
763 for file in openFiles: |
761 if file not in errorFiles: |
764 if file not in errorFiles: |
762 editor = vm.getOpenEditor(file) |
765 editor = vm.getOpenEditor(file) |
763 editor.clearStyleWarnings() |
766 editor.clearStyleWarnings() |
|
767 |
|
768 editor = vm.activeWindow() |
|
769 editor.updateVerticalScrollBar() |
764 |
770 |
765 @pyqtSlot() |
771 @pyqtSlot() |
766 def on_statisticsButton_clicked(self): |
772 def on_statisticsButton_clicked(self): |
767 """ |
773 """ |
768 Private slot to show the statistics dialog. |
774 Private slot to show the statistics dialog. |