diff -r 3a1b0afdaf84 -r 66308e07402c TextViewer.py --- 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)