clear method

void clear()

Clear the editor content and remove all stored history.

It calls the reset() method of the editor.

Implementation

void clear() => sendEvent(const EditorReset());