Use the highlightCurrentLine parameter to set or query whether the current element is highlighted.
query command
set command
current parameter
default parameter
install parameter
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.
query highlightCurrentLine set highlightCurrentLine [ default | on | off ] query current.highlightCurrentLine query default.highlightCurrentLine set default.highlightCurrentLine [ install | on | off ] query install.highlightCurrentLine
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. |
The currentLine built-in style is used to highlight the current element.
If you do not specify any of the parameters for the set highlightCurrentLine command, default is assumed. If you do not specify any of the parameters for the set default.highlightCurrentLine command, install is assumed.
The query current.highlightCurrentLine command returns on if the current element is highlighted in the current view or off if the current element is not highlighted.
query highlightCurrentLine set highlightCurrentLine off query current.highlightCurrentLine query default.highlightCurrentLine set default.highlightCurrentLine off query install.highlightCurrentLine
query command
set command
current parameter
default parameter
install parameter
styleAttributes parameter
Copyright IBM Corporation 1992, 2007. All Rights Reserved.