Class orion.textview.TextViewOptions
This object describes the options for the text view.
See:
orion.textview.TextView
orion.textview.TextView#setOptions
orion.textview.TextView#getOptions
Defined in: </shared/eclipse/e4/orion/I201202282230/plugins/org.eclipse.orion.client.editor/web/orion/textview/textView.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
whether or not the tab key inserts white spaces.
|
|
whether or not the view is in full selection mode.
|
|
the text model for the view.
|
|
the parent element for the view, it can be either a DOM element or an ID for a DOM element.
|
|
whether or not the view is read-only.
|
|
one or more stylesheet for the view.
|
|
whether or not the view creation should be synchronous (if possible).
|
|
The number of spaces in a tab.
|
|
the CSS class for the view theming.
|
Field Detail
{Boolean}
expandTab
whether or not the tab key inserts white spaces.
- Default Value:
- false
{Boolean}
fullSelection
whether or not the view is in full selection mode.
- Default Value:
- true
{orion.textview.TextModel}
model
the text model for the view. If it is not set the view creates an empty orion.textview.TextModel.
{String|DOMElement}
parent
the parent element for the view, it can be either a DOM element or an ID for a DOM element.
{Boolean}
readonly
whether or not the view is read-only.
- Default Value:
- false
one or more stylesheet for the view. Each stylesheet can be either a URI or a string containing the CSS rules.
{Boolean}
sync
whether or not the view creation should be synchronous (if possible).
- Default Value:
- false
{Number}
tabSize
The number of spaces in a tab.
{String}
themeClass
the CSS class for the view theming.