Added memory editing functionality
This commit is contained in:
@@ -34,6 +34,14 @@ class ReadEntry(Entry):
|
||||
self.content = self._io_buffer.read()
|
||||
self.read = True
|
||||
self.notify_change()
|
||||
|
||||
def reset(self) -> None:
|
||||
"""
|
||||
Reset the entry state to its initial state.
|
||||
"""
|
||||
self.read = False
|
||||
self.content = ""
|
||||
self.notify_change()
|
||||
|
||||
def generate_context(self) -> ET.Element:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user