C# Class AvalonStudio.TextEditor.Utils.RopeTextReader

TextReader implementation that reads text from a rope.
Inheritance: System.IO.TextReader
Afficher le fichier Open project: VitalElement/AvalonStudio

Méthodes publiques

Méthode Description
Peek ( ) : int
Read ( ) : int
Read ( char buffer, int index, int count ) : int
RopeTextReader ( Rope rope ) : System

Creates a new RopeTextReader. Internally, this method creates a Clone of the rope; so the text reader will always read through the old version of the rope if it is modified. Rope{T}.Clone()

Private Methods

Méthode Description
GoToLeftMostLeaf ( ) : void
GoToNextNode ( ) : void

Method Details

Peek() public méthode

public Peek ( ) : int
Résultat int

Read() public méthode

public Read ( ) : int
Résultat int

Read() public méthode

public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
Résultat int

RopeTextReader() public méthode

Creates a new RopeTextReader. Internally, this method creates a Clone of the rope; so the text reader will always read through the old version of the rope if it is modified. Rope{T}.Clone()
public RopeTextReader ( Rope rope ) : System
rope Rope
Résultat System