highlightCurrentLine parameter

Use the highlightCurrentLine parameter to set or query whether the current element is highlighted.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

highlightCurrentLine is scoped to the current view.
current.highlightCurrentLine is scoped to the current view.
default.highlightCurrentLine is globally scoped.
install.highlightCurrentLine is globally scoped.

 

Syntax

query highlightCurrentLine
set highlightCurrentLine [ default | on | off ]
query current.highlightCurrentLine
query default.highlightCurrentLine
set default.highlightCurrentLine [ install | on | off ]
query install.highlightCurrentLine 

 

Parameters

default If you specify the default parameter for the set highlightCurrentLine command, the current view will use the value of default.highlightCurrentLine to determine whether it should display the current element highlighted.
on If you specify the on parameter for the set highlightCurrentLine command, the current element will be highlighted in the current view.  If you specify the on parameter for the set default.highlightCurrentLine command, the current element will be highlighted in all the views that have highlightCurrentLine set to default.
off If you specify the off parameter for the set highlightCurrentLine command, the current element will not be highlighted in the current view.  If you specify the off parameter for the set default.highlightCurrentLine command, the current element will not be highlighted in all the views that have highlightCurrentLine set to default.
install If you specify the install parameter for the set default.highlightCurrentLine command, all of the views that have highlightCurrentLine set to default will use the value of install.highlightCurrentLine to determine whether to highlight the current element.

 

Description

The currentLine built-in style is used to highlight the current element.

 

Examples

query highlightCurrentLine
set highlightCurrentLine off
query current.highlightCurrentLine
query default.highlightCurrentLine
set default.highlightCurrentLine off
query install.highlightCurrentLine 

Related reference
query command
set command
current parameter
default parameter
install parameter
styleAttributes parameter