CORRECTIVE_ACTION enumeration

Identifies the type of corrective action to be taken for a spelling error.

Syntax


typedef enum _CORRECTIVE_ACTION { 
  CORRECTIVE_ACTION_NONE             = 0,
  CORRECTIVE_ACTION_GET_SUGGESTIONS  = 1,
  CORRECTIVE_ACTION_REPLACE          = 2,
  CORRECTIVE_ACTION_DELETE           = 3
} CORRECTIVE_ACTION;

Constants

CORRECTIVE_ACTION_NONE

There are no errors.

CORRECTIVE_ACTION_GET_SUGGESTIONS

The user should be prompted with a list of suggestions as returned by ISpellChecker::Suggest.

CORRECTIVE_ACTION_REPLACE

Replace the indicated erroneous text with the text provided in the suggestion. The user does not need to be prompted.

CORRECTIVE_ACTION_DELETE

The user should be prompted to delete the indicated erroneous text.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

SpellCheck.h

See also

ISpellingError::CorrectiveAction
ISpellChecker::Suggest

 

 

Show: