C# Класс AvalonStudio.TextEditor.Document.RopeTextSource

Наследование: ITextSource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetRope ( ) : Rope

Описание методов

CreateReader() публичный Метод

public CreateReader ( ) : TextReader
Результат System.IO.TextReader

CreateReader() публичный Метод

public CreateReader ( int offset, int length ) : TextReader
offset int
length int
Результат System.IO.TextReader

CreateSnapshot() публичный Метод

public CreateSnapshot ( ) : ITextSource
Результат ITextSource

CreateSnapshot() публичный Метод

public CreateSnapshot ( int offset, int length ) : ITextSource
offset int
length int
Результат ITextSource

GetCharAt() публичный Метод

public GetCharAt ( int offset ) : char
offset int
Результат char

GetText() публичный Метод

public GetText ( ISegment segment ) : string
segment ISegment
Результат string

GetText() публичный Метод

public GetText ( int offset, int length ) : string
offset int
length int
Результат string

IndexOf() публичный Метод

public IndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
Результат int

IndexOf() публичный Метод

public IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
Результат int

IndexOfAny() публичный Метод

public IndexOfAny ( char anyOf, int startIndex, int count ) : int
anyOf char
startIndex int
count int
Результат int

LastIndexOf() публичный Метод

public LastIndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
Результат int

LastIndexOf() публичный Метод

public LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
Результат int

RopeTextSource() публичный Метод

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope ) : System
rope Rope
Результат System

RopeTextSource() публичный Метод

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope, ITextSourceVersion version ) : System
rope Rope
version ITextSourceVersion
Результат System

WriteTextTo() публичный Метод

public WriteTextTo ( TextWriter writer ) : void
writer TextWriter
Результат void

WriteTextTo() публичный Метод

public WriteTextTo ( TextWriter writer, int offset, int length ) : void
writer TextWriter
offset int
length int
Результат void