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
NewSpan
Gets the inserted range in coordinates after this change.
public TextSpan NewSpan { get; }
Property Value
OldSpan
Gets the replaced range in coordinates after preceding changes.
public TextSpan OldSpan { get; }
Property Value
Removed
Gets the immutable removed text, retained for inverse operations.
public TextSnapshot Removed { get; }