C# Class AvalonStudio.TextEditor.Document.RopeTextSource

Inheritance: ITextSource
ファイルを表示 Open project: VitalElement/AvalonStudio Class Usage Examples

Public Methods

Method Description
CreateReader ( ) : TextReader
CreateReader ( int offset, int length ) : TextReader
CreateSnapshot ( ) : ITextSource
CreateSnapshot ( int offset, int length ) : ITextSource
GetCharAt ( int offset ) : char
GetText ( ISegment segment ) : string
GetText ( int offset, int length ) : string
IndexOf ( char c, int startIndex, int count ) : int
IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
IndexOfAny ( char anyOf, int startIndex, int count ) : int
LastIndexOf ( char c, int startIndex, int count ) : int
LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
RopeTextSource ( Rope rope ) : System

Creates a new RopeTextSource.

RopeTextSource ( Rope rope, ITextSourceVersion version ) : System

Creates a new RopeTextSource.

WriteTextTo ( TextWriter writer ) : void
WriteTextTo ( TextWriter writer, int offset, int length ) : void

Private Methods

Method Description
GetRope ( ) : Rope

Method Details

CreateReader() public method

public CreateReader ( ) : TextReader
return System.IO.TextReader

CreateReader() public method

public CreateReader ( int offset, int length ) : TextReader
offset int
length int
return System.IO.TextReader

CreateSnapshot() public method

public CreateSnapshot ( ) : ITextSource
return ITextSource

CreateSnapshot() public method

public CreateSnapshot ( int offset, int length ) : ITextSource
offset int
length int
return ITextSource

GetCharAt() public method

public GetCharAt ( int offset ) : char
offset int
return char

GetText() public method

public GetText ( ISegment segment ) : string
segment ISegment
return string

GetText() public method

public GetText ( int offset, int length ) : string
offset int
length int
return string

IndexOf() public method

public IndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
return int

IndexOf() public method

public IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
return int

IndexOfAny() public method

public IndexOfAny ( char anyOf, int startIndex, int count ) : int
anyOf char
startIndex int
count int
return int

LastIndexOf() public method

public LastIndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
return int

LastIndexOf() public method

public LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
return int

RopeTextSource() public method

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope ) : System
rope Rope
return System

RopeTextSource() public method

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope, ITextSourceVersion version ) : System
rope Rope
version ITextSourceVersion
return System

WriteTextTo() public method

public WriteTextTo ( TextWriter writer ) : void
writer TextWriter
return void

WriteTextTo() public method

public WriteTextTo ( TextWriter writer, int offset, int length ) : void
writer TextWriter
offset int
length int
return void