Checks spelling in the entire document.
editor.ExecuteCommandByID(4522);
editor.ExecuteCommandByID 4522