Command Reference — View category — Wrap by Window command

# Wrap by Window command

## Summary

Wraps lines according to window size.

## Description

Displays each line by wrapping text according to the window width. This command is equivalent to selecting Window Width from the Wrap by drop-down list box on the General page of the Configuration Properties dialog box.

## How to Run

- Default Menu: View > Wrap by Window

- All Commands: View > Wrap by Window

- Toolbar:

- Status Bar: None

- Default Shortcut Key: CTRL+3

## Plug-in Command ID

    EEID_WRAP_BY_WINDOW (4210)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4210);

### [VBScript]

    editor.ExecuteCommandByID 4210