C# Class ShaderTools.VisualStudio.Core.Text.VisualStudioSourceText

Inheritance: ShaderTools.Core.Text.SourceText
Exibir arquivo Open project: tgjones/HlslTools

Public Methods

Method Description
GetLineNumberFromPosition ( int position ) : int
GetText ( TextSpan textSpan ) : string
VisualStudioSourceText ( ITextSnapshot snapshot, string filename ) : System
this ( int index ) : char

Method Details

GetLineNumberFromPosition() public method

public GetLineNumberFromPosition ( int position ) : int
position int
return int

GetText() public method

public GetText ( TextSpan textSpan ) : string
textSpan TextSpan
return string

VisualStudioSourceText() public method

public VisualStudioSourceText ( ITextSnapshot snapshot, string filename ) : System
snapshot ITextSnapshot
filename string
return System

this() public method

public this ( int index ) : char
index int
return char