void () { typeInText("test"); checkEditorState("test", 4, 0, 0); moveCaret(4, LEFT, false); checkEditorState("test", 0, 0, 0); undoFirstEditor(); checkEditorState("test", 4, 0, 0); undoFirstEditor(); checkEditorState("", 0, 0, 0); redoFirstEditor(); checkEditorState("test", 4, 0, 0); }