Poor man's template specialization: extension methods for Rope<char>.

C# | Visual Basic | Visual C++ |
public static class CharRope
<ExtensionAttribute> _ Public NotInheritable Class CharRope
[ExtensionAttribute] public ref class CharRope abstract sealed

All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
![]() ![]() | AddText(Rope<(Of <<'(Char>)>>), String) |
Appends text to this rope.
Runs in O(lg N + M).
|
![]() ![]() | Create(String) |
Creates a new rope from the specified text.
|
![]() ![]() | IndexOf(Rope<(Of <<'(Char>)>>), String, Int32, Int32, StringComparison) |
Gets the index of the first occurrence of the search text.
|
![]() ![]() | IndexOfAny(Rope<(Of <<'(Char>)>>), array<Char>[]()[][], Int32, Int32) |
Gets the index of the first occurrence of any element in the specified array.
|
![]() ![]() | InsertText(Rope<(Of <<'(Char>)>>), Int32, String) |
Inserts text into this rope.
Runs in O(lg N + M).
|
![]() ![]() | LastIndexOf(Rope<(Of <<'(Char>)>>), String, Int32, Int32, StringComparison) |
Gets the index of the last occurrence of the search text.
|
![]() ![]() | ToString(Rope<(Of <<'(Char>)>>), Int32, Int32) |
Retrieves the text for a portion of the rope.
Runs in O(lg N + M), where M=length.
|
![]() ![]() | WriteTo(Rope<(Of <<'(Char>)>>), TextWriter, Int32, Int32) |
Retrieves the text for a portion of the rope and writes it to the specified text writer.
Runs in O(lg N + M), where M=length.
|

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