from editors.TextViewer import TextViewer
from plcopen.plcopen import TestTextElement
class IECCodeViewer(TextViewer):
if getattr(self, "_OnClose"):
if self.Controler is not None:
def Search(self, criteria):
return [((self.TagName, "body", 0),) + result for result in TestTextElement(self.Editor.GetText(), criteria)]