emphasisPosition parameter
Use the emphasisPosition parameter to set or query a position in the current element for the emphasis drawn with the set emphasisLength command.
Availability
query command
set command
Scope
The current view.
Syntax
query emphasisPosition set emphasisPosition n
Parameters
n Use the n parameter to indicate the position of the emphasis in the current element. When n is 0, the emphasis will be drawn at the current cursor location, and removed when the cursor is moved. When n if positive, the emphasis will be drawn at the position specified by n and removed when the cursor is moved to another element. Any emphasis will also be removed when the current cursor element is deleted, and when the emphasisLength parameter is set to 0.
Description
The emphasis is normally drawn at the current cursor location and removed when the cursor is moved. The emphasisPosition parameter allows an extension to this usage. The set emphasisPosition command should be followed by set emphasisLength.
The emphasisPosition parameter is reset to 0 when the emphasis is removed.
Examples
query emphasisPosition set emphasisPosition 10 set emphasisLength 5
query command
set command
emphasisLength parameter