Table of Contents

Class GlobalAutoCorrection

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A command name typed wrongly and the command typed next, with how many times that has happened: once it has happened AutoCorrectAfter times, the command line offers the command first when the misspelling is typed again, as AutoCAD's AutoCorrect does. LIEN typed three times, each followed by LINE, has LINE offered for LIEN.

public sealed class GlobalAutoCorrection
Inheritance
GlobalAutoCorrection
Inherited Members

Constructors

GlobalAutoCorrection(string, string, int)

Makes a correction.

Properties

Command

Gets the command typed after it, in capitals.

Count

Gets how many times the misspelling was followed by the command.

IsRemembered

Gets whether it has happened often enough to be offered at the default of AutoCorrectAfter times; the settings offer it after their own AutoCorrectMistypes.

Typed

Gets the misspelling, in capitals.