Table of Contents

Struct PositionChange

Namespace
TextEdit.Core
Assembly
TextEdit.Core.dll

One replacement's geometry, in coordinates after all preceding replacements.

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

Constructors

PositionChange(TextSpan, int)

One replacement's geometry, in coordinates after all preceding replacements.

public PositionChange(TextSpan OldSpan, int NewLength)

Parameters

OldSpan TextSpan
NewLength int

Properties

NewLength

public int NewLength { get; init; }

Property Value

int

OldSpan

public TextSpan OldSpan { get; init; }

Property Value

TextSpan