equal
deleted
inserted
replaced
182 |
182 |
183 def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""): |
183 def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""): |
184 if tagname != "" and controler is not None: |
184 if tagname != "" and controler is not None: |
185 self.VARIABLE_PANEL_TYPE = controler.GetPouType(tagname.split("::")[1]) |
185 self.VARIABLE_PANEL_TYPE = controler.GetPouType(tagname.split("::")[1]) |
186 |
186 |
187 EditorPanel.__init__(self, parent, tagname, window, controler) |
187 EditorPanel.__init__(self, parent, tagname, window, controler, debug) |
188 |
188 |
189 self.Keywords = [] |
189 self.Keywords = [] |
190 self.Variables = {} |
190 self.Variables = {} |
191 self.Functions = {} |
191 self.Functions = {} |
192 self.TypeNames = [] |
192 self.TypeNames = [] |
194 self.EnumeratedValues = [] |
194 self.EnumeratedValues = [] |
195 self.DisableEvents = True |
195 self.DisableEvents = True |
196 self.TextSyntax = None |
196 self.TextSyntax = None |
197 self.CurrentAction = None |
197 self.CurrentAction = None |
198 self.Highlights = [] |
198 self.Highlights = [] |
199 self.Debug = debug |
|
200 self.InstancePath = instancepath |
199 self.InstancePath = instancepath |
201 self.ContextStack = [] |
200 self.ContextStack = [] |
202 self.CallStack = [] |
201 self.CallStack = [] |
203 |
202 |
204 self.RefreshHighlightsTimer = wx.Timer(self, -1) |
203 self.RefreshHighlightsTimer = wx.Timer(self, -1) |