Method | Description | |
---|---|---|
GetText ( this range, ITextBuffer textBuffer ) : string | ||
GetText ( this range, ITextSnapshot snapshot ) : string | ||
ToSnapshotSpan ( this range, ITextSnapshot snapshot ) : SnapshotSpan |
Converts text range to the editor snapshot span
|
|
ToSpan ( this range ) : Span |
Converts text range to the editor span
|
|
ToTextRange ( this span ) : ITextRange |
Converts text range to the editor span
|
public static GetText ( this range, ITextBuffer textBuffer ) : string | ||
range | this | |
textBuffer | ITextBuffer | |
return | string |
public static GetText ( this range, ITextSnapshot snapshot ) : string | ||
range | this | |
snapshot | ITextSnapshot | |
return | string |
public static ToSnapshotSpan ( this range, ITextSnapshot snapshot ) : SnapshotSpan | ||
range | this | |
snapshot | ITextSnapshot | |
return | SnapshotSpan |
public static ToTextRange ( this span ) : ITextRange | ||
span | this | |
return | ITextRange |