Class orion.editor.EditOptions
This object describes the options for edit
.
Defined in: </shared/eclipse/e4/orion/I201306251555/plugins/org.eclipse.orion.client.editor/web/orion/editor/edit.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
the editor contents.
|
|
whether or not the tab key inserts white spaces.
|
|
whether or not the view is in full selection mode.
|
|
the styler language.
|
|
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 annotation ruler is shown.
|
|
whether or not the folding ruler is shown.
|
|
whether or not the lines ruler is shown.
|
|
whether or not the overview ruler is shown.
|
|
a status reporter.
|
|
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.
|
|
the editor title.
|
|
whether or not the view wraps lines.
|
Field Detail
{String}
contents
the editor contents.
- Default Value:
- ""
{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
{String}
lang
the styler language. Plain text by default.
{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}
showAnnotationRuler
whether or not the annotation ruler is shown.
- Default Value:
- true
{Boolean}
showFoldingRuler
whether or not the folding ruler is shown.
- Default Value:
- true
{Boolean}
showLinesRuler
whether or not the lines ruler is shown.
- Default Value:
- true
{Boolean}
showOverviewRuler
whether or not the overview ruler is shown.
- Default Value:
- true
{Function}
statusReporter
a status reporter.
{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:
- 4
{String}
themeClass
the CSS class for the view theming.
{String}
title
the editor title.
- Default Value:
- ""
{Boolean}
wrapMode
whether or not the view wraps lines.
- Default Value:
- false