Class orion.textview.Projection
This object represents a projection range. A projection specifies a range of text and the replacement text. The range of text is relative to the base text model associated to a projection model.
See:
orion.textview.ProjectionTextModel
orion.textview.ProjectionTextModel#addProjection
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/projectionTextModel.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
The end offset of the projection range.
|
|
The start offset of the projection range.
|
|
The projection text to be inserted
|
Field Detail
{Number}
end
The end offset of the projection range. This offset is exclusive.
{Number}
start
The start offset of the projection range.
{String|orion.textview.TextModel}
text
The projection text to be inserted
- Default Value:
- ""