TextViewer.py
changeset 68 66308e07402c
parent 64 dd6f693e46a1
child 73 f2529e34e4b7
--- a/TextViewer.py	Thu Aug 09 18:07:44 2007 +0200
+++ b/TextViewer.py	Fri Aug 10 16:14:33 2007 +0200
@@ -195,7 +195,7 @@
         self.Functions = []
         for category in blocktypes:
             for blocktype in category["list"]:
-                if blocktype["name"] not in self.Keywords and blocktype["name"] not in self.Variables:
+                if blocktype["type"] == "function" and blocktype["name"] not in self.Keywords and blocktype["name"] not in self.Variables:
                     self.Functions.append(blocktype["name"].upper())
         self.Colourise(0, -1)