Skip to content

TextChange structure

A replace that happened to a document. RemovedText carries what an edit took out; assigning a control’s text property replaces the document wholesale rather than editing it, and reports no removed text even though RemovedLength counts it.

public struct TextChange : IEquatable<TextChange>
name description
TextChange(…) A replace that happened to a document. RemovedText carries what an edit took out; assigning a control’s text property replaces the document wholesale rather than editing it, and reports no removed text even though RemovedLength counts it. (2 constructors)
InsertedLength { get; set; }
Offset { get; set; }
RemovedLength { get; set; }
RemovedText { get; set; }