C# Class AvalonStudio.TextEditor.Document.RopeTextSource

Inheritance: ITextSource
Afficher le fichier Open project: VitalElement/AvalonStudio Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetRope ( ) : Rope

Method Details

CreateReader() public méthode

public CreateReader ( ) : TextReader
Résultat System.IO.TextReader

CreateReader() public méthode

public CreateReader ( int offset, int length ) : TextReader
offset int
length int
Résultat System.IO.TextReader

CreateSnapshot() public méthode

public CreateSnapshot ( ) : ITextSource
Résultat ITextSource

CreateSnapshot() public méthode

public CreateSnapshot ( int offset, int length ) : ITextSource
offset int
length int
Résultat ITextSource

GetCharAt() public méthode

public GetCharAt ( int offset ) : char
offset int
Résultat char

GetText() public méthode

public GetText ( ISegment segment ) : string
segment ISegment
Résultat string

GetText() public méthode

public GetText ( int offset, int length ) : string
offset int
length int
Résultat string

IndexOf() public méthode

public IndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
Résultat int

IndexOf() public méthode

public IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
Résultat int

IndexOfAny() public méthode

public IndexOfAny ( char anyOf, int startIndex, int count ) : int
anyOf char
startIndex int
count int
Résultat int

LastIndexOf() public méthode

public LastIndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
Résultat int

LastIndexOf() public méthode

public LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
Résultat int

RopeTextSource() public méthode

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope ) : System
rope Rope
Résultat System

RopeTextSource() public méthode

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope, ITextSourceVersion version ) : System
rope Rope
version ITextSourceVersion
Résultat System

WriteTextTo() public méthode

public WriteTextTo ( TextWriter writer ) : void
writer TextWriter
Résultat void

WriteTextTo() public méthode

public WriteTextTo ( TextWriter writer, int offset, int length ) : void
writer TextWriter
offset int
length int
Résultat void