Ask a question to get started
Enter to send•Shift+Enter new line
discard_text( self, ) -> bool
Clear the draft via an undoable edit (restorable with ctrl+z).
Unlike clear_text, the deletion is recorded in the undo history and the resulting Changed event is allowed to propagate, so completion and argument-hint state stay in sync.
clear_text
Changed