displayPosition parameter

The displayPosition parameter may be used to query or set the cursor's display column position on the current element.  The display column position includes any spaces that have been added due to tab expansion and any characters that have been used to display the element's sequence number.  If there are no expanded tab characters and no sequence numbers, the displayPosition parameter behaves the same as the position parameter.

Availability

query command
set command

Scope

The current view.

Syntax

query displayPosition
set displayPosition n 

Parameters

n Use the n parameter to indicate the display column position of the cursor.

Description

Note that it may not be possible to move the cursor to the specified display column position.  If the specified display column position is in the middle of an expanded tab character or part of the sequence number, the cursor will be moved to a display position that is not in the middle of an expanded tab character or part of a sequence number.

Examples

query displayPosition
set displayPosition 20 


query command
set command
position parameter