editors/IECCodeViewer.py
author Laurent Bessard
Thu, 06 Dec 2012 17:14:03 +0100
changeset 896 899ca8809528
parent 815 e4f24593a758
child 1057 3837e165b3f9
permissions -rw-r--r--
Fixed bug when copying transition and connected FBD or LD diagram. Wire between the new transition and new FBD or LD diagram was not selected.
815
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     1
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     2
from editors.TextViewer import TextViewer
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     3
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     4
class IECCodeViewer(TextViewer):
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     5
    
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     6
    def __del__(self):
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     7
        TextViewer.__del__(self)
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     8
        if getattr(self, "_OnClose"):
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     9
            self._OnClose(self)