Class Index | File Index

Classes


Class orion.editor.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.editor.ProjectionTextModel
orion.editor.ProjectionTextModel#addProjection


Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/projectionTextModel.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
end
The end offset of the projection range.
 
The start offset of the projection range.
 
The projection text to be inserted
Class Detail
orion.editor.Projection()
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.editor.TextModel} text
The projection text to be inserted
Default Value:
""

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Mar 17 2017 08:51:35 GMT-0400 (EDT)