Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

branch
6_0_x
changeset 4440
d3c84c471c32
parent 4280
9556c261c3a2
equal deleted inserted replaced
4439:1d7d42500f54 4440:d3c84c471c32
628 if code in ["E901", "E902"]: 628 if code in ["E901", "E902"]:
629 editor.toggleSyntaxError(lineno, 0, True, message, True) 629 editor.toggleSyntaxError(lineno, 0, True, message, True)
630 else: 630 else:
631 editor.toggleWarning( 631 editor.toggleWarning(
632 lineno, 0, True, message, warningType=editor.WarningStyle) 632 lineno, 0, True, message, warningType=editor.WarningStyle)
633
634 editor = vm.activeWindow()
635 editor.updateVerticalScrollBar()
633 636
634 @pyqtSlot() 637 @pyqtSlot()
635 def on_resultList_itemSelectionChanged(self): 638 def on_resultList_itemSelectionChanged(self):
636 """ 639 """
637 Private slot to change the dialog state depending on the selection. 640 Private slot to change the dialog state depending on the selection.
674 Utilities.normabspath(itm.data(0, self.filenameRole))) 677 Utilities.normabspath(itm.data(0, self.filenameRole)))
675 for file in openFiles: 678 for file in openFiles:
676 if file not in errorFiles: 679 if file not in errorFiles:
677 editor = vm.getOpenEditor(file) 680 editor = vm.getOpenEditor(file)
678 editor.clearStyleWarnings() 681 editor.clearStyleWarnings()
682
683 editor = vm.activeWindow()
684 editor.updateVerticalScrollBar()
679 685
680 @pyqtSlot() 686 @pyqtSlot()
681 def on_statisticsButton_clicked(self): 687 def on_statisticsButton_clicked(self):
682 """ 688 """
683 Private slot to show the statistics dialog. 689 Private slot to show the statistics dialog.

eric ide

mercurial