Table of Contents

Class RichTextEdit

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

A replacement expressed in the original revision's UTF-16 coordinates.

public sealed record RichTextEdit : IEquatable<RichTextEdit>
Inheritance
RichTextEdit
Implements
Inherited Members

Constructors

RichTextEdit(TextSpan, string)

A replacement expressed in the original revision's UTF-16 coordinates.

public RichTextEdit(TextSpan Range, string Text)

Parameters

Range TextSpan

The source range to replace.

Text string

The replacement text. Line endings are normalized to LF.

Properties

Range

The source range to replace.

public TextSpan Range { get; init; }

Property Value

TextSpan

Text

The replacement text. Line endings are normalized to LF.

public string Text { get; init; }

Property Value

string

Methods

Deconstruct(out TextSpan, out string)

public void Deconstruct(out TextSpan Range, out string Text)

Parameters

Range TextSpan
Text string

Equals(RichTextEdit?)

public bool Equals(RichTextEdit? other)

Parameters

other RichTextEdit

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RichTextEdit?, RichTextEdit?)

public static bool operator ==(RichTextEdit? left, RichTextEdit? right)

Parameters

left RichTextEdit
right RichTextEdit

Returns

bool

operator !=(RichTextEdit?, RichTextEdit?)

public static bool operator !=(RichTextEdit? left, RichTextEdit? right)

Parameters

left RichTextEdit
right RichTextEdit

Returns

bool