focus Command

Moves the current position to the focus line.

Scope: View

Syntax

Description

The focus command scrolls the file up or down to move the current position (the line containing the cursor) to the focus line. The focus line was set using the focus.row parameter. If a focus line was not set, the focus command moves the current position to the center row of the Source view or the Editor window.

Example

The focus row is set to row 5 and the cursor is now on row 23. To scroll the file so that row 23 is moved to the focus row, type:

focus

API Return Code

-9 
Too many parameters.

focus Parameter