SpellingRange record struct

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

public readonly record struct SpellingRange : IEquatable<SpellingRange>

Inherits or implements IEquatable.

A part of a text the checker leaves out, such as a placeholder, markup or a comment, in UTF-16 code units.

Parameters

Start

Its first UTF-16 code unit in the text.

Length

Its length in UTF-16 code units.

Constructors

SpellingRange

public SpellingRange(int Start, int Length)

A part of a text the checker leaves out, such as a placeholder, markup or a comment, in UTF-16 code units.

Parameters

Start

Its first UTF-16 code unit in the text.

Length

Its length in UTF-16 code units.

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.