src/eric7/QScintilla/Editor.py

branch
eric7
changeset 10895
11069c6bfff0
parent 10878
c9f329692cf0
child 10908
ef1b3cd9a6ca
--- a/src/eric7/QScintilla/Editor.py	Sat Aug 31 11:26:54 2024 +0200
+++ b/src/eric7/QScintilla/Editor.py	Sat Aug 31 15:45:39 2024 +0200
@@ -467,6 +467,10 @@
                         ]
                         // 1024
                     )
+                elif FileSystemUtilities.isDeviceFileName(self.fileName):
+                    fileIsRemote = False
+                    fileExists = False
+                    fileSizeKB = 0
                 else:
                     fileIsRemote = False
                     fileExists = pathlib.Path(self.fileName).exists()

eric ide

mercurial