diff -r 84684a40187d -r f94b530722af src/eric7/QScintilla/Editor.py --- a/src/eric7/QScintilla/Editor.py Tue Feb 21 10:56:54 2023 +0100 +++ b/src/eric7/QScintilla/Editor.py Wed Feb 22 07:43:56 2023 +0100 @@ -411,9 +411,9 @@ None, self.tr("Open File"), self.tr( - "<p>The size of the file <b>{0}</b> is <b>{1} KB</b> and" - " exceeds the configured limit of <b>{2} KB</b>. It will" - " not be opened!</p>" + "<p>The size of the file <b>{0}</b> is <b>{1} KB</b>" + " and exceeds the configured limit of <b>{2} KB</b>." + " It will not be opened!</p>" ).format( self.fileName, fileSizeKB, @@ -2712,7 +2712,7 @@ @param fileName name of the file (string) """ idxList = [] - for (ln, _, _, _, _) in self.breaks.values(): + for ln, _, _, _, _ in self.breaks.values(): index = self.breakpointModel.getBreakPointIndex(fileName, ln) if index.isValid(): idxList.append(index) @@ -7434,9 +7434,8 @@ @rtype bool """ return ( - (self.isLocalFile() and not os.access(self.fileName, os.W_OK)) - or self.isReadOnly() - ) + self.isLocalFile() and not os.access(self.fileName, os.W_OK) + ) or self.isReadOnly() def refresh(self): """