Table of Contents

Class TypingCorrection

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

One correction a keystroke made: what kind, where its result is, and the text it replaced.

public sealed class TypingCorrection
Inheritance
TypingCorrection
Inherited Members

Constructors

TypingCorrection(TypingCorrectionKind, DocumentPosition, int, string)

Initializes a correction.

Properties

Kind

Gets what it did.

Length

Gets how many characters the result is.

Original

Gets the text it replaced.

Start

Gets where its result starts, after the edit.