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/I201301232230/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.
|
|
whether or not the tab keypress is consumed by the view or is used for focus traversal.
|
|
The number of spaces in a tab.
|
|
the CSS class for the view theming.
|
|
whether or not the view wraps lines.
|
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
{Boolean}
tabMode
whether or not the tab keypress is consumed by the view or is used for focus traversal.
- Default Value:
- true
{Number}
tabSize
The number of spaces in a tab.
- Default Value:
- 8
{String}
themeClass
the CSS class for the view theming.
{Boolean}
wrapMode
whether or not the view wraps lines.
- Default Value:
- false