dispwidth Parameter

Queries the width of the Source view or the Editor window.

Scope: View

Syntax

query dispwidth 
set dispwidth Number 

Option

Number 
The file view width. The width must be greater than 19.

Description

The dispwidth parameter queries the width of the Source view or the Editor window. The file view scrolls sideways when the cursor reaches the window frames if dispwidth is less than the longest line the formatter produces.

Examples

  1. To query the width of the view, type:
    query dispwidth 
  2. To set the width of the view to 20, type:
    set dispwidth 20 

API Return Codes

-2 
The number specified was either outside the valid range or not a whole number. Issue the command again using a valid number.

dispdepth Parameter