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>.
| 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.editor.TextModel}
					text
					
					
					
						The projection text to be inserted
						
						
					
					
					
						
						
						
						
							- Default Value:
- ""