diff -r 45872a13d197 -r b2b2107b8047 RefactoringRope/Refactoring.py --- a/RefactoringRope/Refactoring.py Sun Mar 08 12:15:44 2015 +0100 +++ b/RefactoringRope/Refactoring.py Sun Mar 08 13:30:48 2015 +0100 @@ -2273,3 +2273,19 @@ filename = aw.getFileName() if filename is not None: vm.openSourceFile(filename, aw.getCursorPosition()[0] + 1) + + def reportChanged(self, filename, oldSource): + """ + Public slot to report some changed sources. + + @param filename file name of the changed source (string) + @param oldSource source code before the change (string) + """ + if self.__project and self.__e5project.isProjectFile(filename): + try: + rope.base.libutils.report_change( + self.__project, filename, oldSource) + except RuntimeError: + # this could come from trying to do PyQt4/PyQt5 mixed stuff + # simply ignore it + pass