C# Class RazorPad.UI.Editors.AvalonEditTextSourceAdapter

Inheritance: ITextBuffer
Afficher le fichier Open project: RazorPad/RazorPad

Méthodes publiques

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

Method Details

AvalonEditTextSourceAdapter() public méthode

public AvalonEditTextSourceAdapter ( ITextSource textSource ) : System
textSource ITextSource
Résultat System

CreateReader() public méthode

Creates a new TextReader to read from this text buffer.
public CreateReader ( ) : System.IO.TextReader
Résultat System.IO.TextReader

CreateReader() public méthode

Creates a new TextReader to read from this text buffer.
public CreateReader ( int offset, int length ) : System.IO.TextReader
offset int
length int
Résultat System.IO.TextReader

CreateSnapshot() public méthode

Creates an immutable snapshot of this text buffer.
public CreateSnapshot ( ) : ITextBuffer
Résultat ITextBuffer

CreateSnapshot() public méthode

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
Résultat ITextBuffer

GetCharAt() public méthode

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

GetText() public méthode

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