Activate mechanism to restore text from highlighting.
(self)
| 60 | 'hilite') |
| 61 | |
| 62 | def activate_restore(self): |
| 63 | "Activate mechanism to restore text from highlighting." |
| 64 | if not self.is_restore_active: |
| 65 | for seq in self.RESTORE_SEQUENCES: |
| 66 | self.text.event_add(self.RESTORE_VIRTUAL_EVENT_NAME, seq) |
| 67 | self.is_restore_active = True |
| 68 | |
| 69 | def deactivate_restore(self): |
| 70 | "Remove restore event bindings." |
no test coverage detected