C# Class RazorPad.UI.Editors.AvalonEditTextSourceAdapter

Inheritance: ITextBuffer
Exibir arquivo Open project: RazorPad/RazorPad

Public Methods

Method 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 method

public AvalonEditTextSourceAdapter ( ITextSource textSource ) : System
textSource ITextSource
return System

CreateReader() public method

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

CreateReader() public method

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

CreateSnapshot() public method

Creates an immutable snapshot of this text buffer.
public CreateSnapshot ( ) : ITextBuffer
return ITextBuffer

CreateSnapshot() public method

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
return ITextBuffer

GetCharAt() public method

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

GetText() public method

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