Misspelling record struct

Namespace Runic.Spelling in Runic.Spelling 0.23.0-preview.1

public readonly record struct Misspelling : IEquatable<Misspelling>

Inherits or implements IEquatable.

A word the checker does not know, by where it is in the text it was given.

Parameters

Start

Its first UTF-16 code unit in the text.

Length

Its length in UTF-16 code units.

Word

The word as the text has it.

Constructors

Misspelling

public Misspelling(int Start, int Length, string Word)

A word the checker does not know, by where it is in the text it was given.

Parameters

Start

Its first UTF-16 code unit in the text.

Length

Its length in UTF-16 code units.

Word

The word as the text has it.

Properties

Length

public int Length { get; init; }

Its length in UTF-16 code units.

Start

public int Start { get; init; }

Its first UTF-16 code unit in the text.

Word

public string Word { get; init; }

The word as the text has it.