Wraps lines according to page width.
Displays each line by wrapping text according to the page width. This command is equivalent to selecting Wrap by Page from the Wrap by drop-down list box on the General tab of the Configuration Properties dialog box.
editor.ExecuteCommandByID(4318);
editor.ExecuteCommandByID 4318