705 progress.setValue(count) |
705 progress.setValue(count) |
706 QApplication.processEvents() |
706 QApplication.processEvents() |
707 if progress.wasCanceled(): |
707 if progress.wasCanceled(): |
708 break |
708 break |
709 |
709 |
|
710 QApplication.processEvents() |
|
711 |
710 fn = os.path.join(self.project.ppath, file) |
712 fn = os.path.join(self.project.ppath, file) |
711 # read the file and split it into textlines |
713 # read the file and split it into textlines |
712 try: |
714 try: |
713 text, encoding = Utilities.readEncodedFile(fn) |
715 text, encoding = Utilities.readEncodedFile(fn) |
714 lines = text.splitlines() |
716 lines = text.splitlines() |