QScintilla/MiniEditor.py

branch
conda
changeset 6721
48c3ca1ac264
parent 6718
24a7a749e132
child 6842
c83dcb7c6147
--- a/QScintilla/MiniEditor.py	Sun Feb 10 16:53:42 2019 +0100
+++ b/QScintilla/MiniEditor.py	Sun Feb 10 17:24:10 2019 +0100
@@ -3077,7 +3077,7 @@
             (string)
         @return dummy file name to be used for binding a lexer (string)
         """
-        bindName = self.__curFile
+        bindName = ""
         line0 = line0.lower()
         
         # check first line if it does not start with #!
@@ -3146,7 +3146,7 @@
                     self.filetype = "D"
         
         if not bindName:
-            bindName = self.fileName
+            bindName = self.__curFile
         
         return bindName
     

eric ide

mercurial