This function enables the edit to emit text change and text finish events.
A text change event is emitted whenever there is a change in the text.
A text finish event is emitted when the Enter key is pressed, or if the edit loses focus and its content has changed since the last time this event was emitted.
This function enables the edit to emit text change and text finish events. A text change event is emitted whenever there is a change in the text. A text finish event is emitted when the Enter key is pressed, or if the edit loses focus and its content has changed since the last time this event was emitted.