C# Класс RazorPad.UI.Editors.AvalonEditTextSourceAdapter

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

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

Метод Описание
AvalonEditTextSourceAdapter ( ITextSource textSource ) : System
CreateReader ( ) : System.IO.TextReader

Creates a new TextReader to read from this text buffer.

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

Creates a new TextReader to read from this text buffer.

CreateSnapshot ( ) : ITextBuffer

Creates an immutable snapshot of this text buffer.

CreateSnapshot ( int offset, int length ) : ITextBuffer

Creates an immutable snapshot of a part of this text buffer. Unlike all other methods in this interface, this method is thread-safe.

GetCharAt ( int offset ) : char
GetText ( int offset, int length ) : string

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

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

public AvalonEditTextSourceAdapter ( ITextSource textSource ) : System
textSource ITextSource
Результат System

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

Creates a new TextReader to read from this text buffer.
public CreateReader ( ) : System.IO.TextReader
Результат System.IO.TextReader

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

Creates a new TextReader to read from this text buffer.
public CreateReader ( int offset, int length ) : System.IO.TextReader
offset int
length int
Результат System.IO.TextReader

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

Creates an immutable snapshot of this text buffer.
public CreateSnapshot ( ) : ITextBuffer
Результат ITextBuffer

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

Creates an immutable snapshot of a part of this text buffer. Unlike all other methods in this interface, this method is thread-safe.
public CreateSnapshot ( int offset, int length ) : ITextBuffer
offset int
length int
Результат ITextBuffer

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

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

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

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