In This Article

IAutoCorrector Interface

Provides the base requirements for a class that can perform auto-correction.

public interface IAutoCorrector

Remarks

This interface type can be registered with an ISyntaxLanguage using the RegisterService(Object, Object) method. Once an object that implements this interface is registered with the language for this interface type, its features can be used by the language.

Methods

AutoCorrect(TextSnapshotRange)

Auto-corrects over the specified TextSnapshotRange.

void AutoCorrect(TextSnapshotRange snapshotRange)
Parameter Type Description
snapshotRange TextSnapshotRange

The TextSnapshotRange to examine.