C# Class Microsoft.Languages.Editor.Projection.ProjectionMapping

Represent a mapping between primary (view) buffer and the contained (projected) language
Inheritance: Microsoft.Languages.Core.Text.TextRange
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
ProjectionMapping ( int sourceStart, int projectionStart, int length ) : Microsoft.Languages.Core.Text

Creates projection mapping

Method Details

ProjectionMapping() public method

Creates projection mapping
public ProjectionMapping ( int sourceStart, int projectionStart, int length ) : Microsoft.Languages.Core.Text
sourceStart int Mapping start in the primary (view) buffer
projectionStart int Mapping start in contained language buffer
length int Mapping length
return Microsoft.Languages.Core.Text