equal
deleted
inserted
replaced
193 |
193 |
194 def SetFunctions(self, blocktypes): |
194 def SetFunctions(self, blocktypes): |
195 self.Functions = [] |
195 self.Functions = [] |
196 for category in blocktypes: |
196 for category in blocktypes: |
197 for blocktype in category["list"]: |
197 for blocktype in category["list"]: |
198 if blocktype["name"] not in self.Keywords and blocktype["name"] not in self.Variables: |
198 if blocktype["type"] == "function" and blocktype["name"] not in self.Keywords and blocktype["name"] not in self.Variables: |
199 self.Functions.append(blocktype["name"].upper()) |
199 self.Functions.append(blocktype["name"].upper()) |
200 self.Colourise(0, -1) |
200 self.Colourise(0, -1) |
201 |
201 |
202 def RefreshJumpList(self): |
202 def RefreshJumpList(self): |
203 self.Jumps = [jump.upper() for jump in LABEL_MODEL.findall(self.GetText())] |
203 self.Jumps = [jump.upper() for jump in LABEL_MODEL.findall(self.GetText())] |