expandTabs parameter

The expandTabs parameter may be used to query or set if tab characters should be expanded or not.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

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

Syntax

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

Parameters

default If you specify the default parameter for the set expandTabs command, the current view will use the value of default.expandTabs to determine if tab characters should be expanded or not.
on If you specify the on parameter for the set expandTabs command, tab characters will be expanded in the current view.  If you specify the on parameter for the set default.expandTabs command, tab characters will be expanded in all views that have expandTabs set to default.
off If you specify the off parameter for the set expandTabs command, tab characters will not be expanded in the current view.  If you specify the off parameter for the set default.expandTabs command, tab characters will be expanded in all views that have expandTabs set to default.
install If you specify the install parameter for the set default.expandTabs command, all of the views that have expandTabs set to default will use the value of install.expandTabs to determine if tab characters should be expanded.

Description

If you do not specify any of the parameters for the set expandTabs command, default is assumed.

If you do not specify any of the parameters for the set default.expandTabs command, install is assumed.

The query current.expandTabs command will return on if tab characters are expanded in the current view or off if the tab characters are not expanded..

Examples

query expandTabs
set expandTabs off
query current.expandTabs
query default.expandTabs
set default.expandTabs off
query install.expandTabs 


query command
set command
current parameter
default parameter
install parameter
expandTabs action