Table of Contents

Struct TextLine

Namespace
TextEdit.Core
Assembly
TextEdit.Core.dll

A source line excluding its terminator, together with the exact terminator length.

public readonly record struct TextLine : IEquatable<TextLine>
Implements
Inherited Members

Constructors

TextLine(TextSpan, int)

A source line excluding its terminator, together with the exact terminator length.

public TextLine(TextSpan Span, int LineBreakLength)

Parameters

Span TextSpan
LineBreakLength int

Properties

LineBreakLength

public int LineBreakLength { get; init; }

Property Value

int

Span

public TextSpan Span { get; init; }

Property Value

TextSpan