Bug with debug mode when displaying code fixed
authorgreg
Wed, 26 Nov 2008 09:05:04 +0100
changeset 273 d15a20eb2b8b
parent 272 9cce83526487
child 274 8628f3dd0979
Bug with debug mode when displaying code fixed
plugger.py
--- a/plugger.py	Wed Nov 26 09:04:28 2008 +0100
+++ b/plugger.py	Wed Nov 26 09:05:04 2008 +0100
@@ -41,7 +41,7 @@
         file.write(text)
         file.close()
         
-    def GetEditedElementText(self, tagname):
+    def GetEditedElementText(self, tagname, debug = False):
         if os.path.isfile(self.FilePath):
             file = open(self.FilePath, "r")
             text = file.read()
@@ -49,16 +49,16 @@
             return text
         return ""
     
-    def GetEditedElementInterfaceVars(self, tagname):
+    def GetEditedElementInterfaceVars(self, tagname, debug = False):
         return []
     
-    def GetEditedElementType(self, tagname):
+    def GetEditedElementType(self, tagname, debug = False):
         return "program"
     
-    def GetBlockTypes(self, tagname = ""):
+    def GetBlockTypes(self, tagname = "", debug = False):
         return []
     
-    def GetEnumeratedDataValues(self):
+    def GetEnumeratedDataValues(self, debug = False):
         return []
     
     def StartBuffering(self):