Implements the ITextSource interface using a rope.

C# | Visual Basic | Visual C++ |
[SerializableAttribute] public sealed class RopeTextSource : ITextSource
<SerializableAttribute> _ Public NotInheritable Class RopeTextSource _ Implements ITextSource
[SerializableAttribute] public ref class RopeTextSource sealed : ITextSource

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | RopeTextSource(Rope<(Of <<'(Char>)>>)) |
Creates a new RopeTextSource.
|
![]() | RopeTextSource(Rope<(Of <<'(Char>)>>), ITextSourceVersion) |
Creates a new RopeTextSource.
|
![]() | CreateReader()()()() |
Creates a new TextReader to read from this text source.
|
![]() | CreateReader(Int32, Int32) |
Creates a new TextReader to read from this text source.
|
![]() | CreateSnapshot()()()() |
Creates an immutable snapshot of this text source.
Unlike all other methods in this interface, this method is thread-safe.
|
![]() | CreateSnapshot(Int32, Int32) |
Creates an immutable snapshot of a part of this text source.
Unlike all other methods in this interface, this method is thread-safe.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetCharAt(Int32) |
Gets a character at the specified position in the document.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetRope()()()() |
Returns a clone of the rope used for this text source.
|
![]() | GetText(Int32, Int32) |
Retrieves the text for a portion of the document.
|
![]() | GetText(ISegment) |
Retrieves the text for a portion of the document.
|
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf(Char, Int32, Int32) |
Gets the index of the first occurrence of the character in the specified array.
|
![]() | IndexOf(String, Int32, Int32, StringComparison) |
Gets the index of the first occurrence of the specified search text in this text source.
|
![]() | IndexOfAny(array<Char>[]()[][], Int32, Int32) |
Gets the index of the first occurrence of any character in the specified array.
|
![]() | LastIndexOf(Char, Int32, Int32) |
Gets the index of the last occurrence of the specified character in this text source.
|
![]() | LastIndexOf(String, Int32, Int32, StringComparison) |
Gets the index of the last occurrence of the specified search text in this text source.
|
![]() | Text |
Gets the whole text as string.
|
![]() | TextLength |
Gets the total text length.
|
![]() | ToString()()()() | (Inherited from Object.) |
![]() | Version |
Gets a version identifier for this text source.
Returns null for unversioned text sources.
|
![]() | WriteTextTo(TextWriter) |
Writes the text from this document into the TextWriter.
|
![]() | WriteTextTo(TextWriter, Int32, Int32) |
Writes the text from this document into the TextWriter.
|

Object | |
![]() | RopeTextSource |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238