Table of Contents

Class TextChange

Namespace
TextEdit.Core
Assembly
TextEdit.Core.dll

A recorded text replacement with shared, immutable inserted and removed content.

public sealed class TextChange
Inheritance
TextChange
Inherited Members

Properties

Inserted

Gets the immutable inserted text.

public TextSnapshot Inserted { get; }

Property Value

TextSnapshot

NewSpan

Gets the inserted range in coordinates after this change.

public TextSpan NewSpan { get; }

Property Value

TextSpan

OldSpan

Gets the replaced range in coordinates after preceding changes.

public TextSpan OldSpan { get; }

Property Value

TextSpan

Removed

Gets the immutable removed text, retained for inverse operations.

public TextSnapshot Removed { get; }

Property Value

TextSnapshot