MiniEditor: fixed an issue introduced by the recent change. conda

Sun, 10 Feb 2019 17:24:10 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 10 Feb 2019 17:24:10 +0100
branch
conda
changeset 6721
48c3ca1ac264
parent 6718
24a7a749e132
child 6724
ca89c7d94c94

MiniEditor: fixed an issue introduced by the recent change.

QScintilla/MiniEditor.py file | annotate | diff | comparison | revisions
--- 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