Class TAspellProcess
Unit
PasDoc_Aspell
Declaration
type TAspellProcess = class(TObject)
Description
This is a class to interface with aspell through pipe. It uses underlying TProcessLineTalk to execute and "talk" with aspell.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create(const AAspellMode, AAspellLanguage: string; AOnMessage: TPasDocMessageEvent); |
Constructor. Values for AspellMode and AspellLanguage are the same as for aspell --mode and --lang command-line options. You can pass here '', then we will not pass appropriate command-line option to aspell.
|
 |
destructor Destroy; override; |
|
 |
procedure SetIgnoreWords(Value: TStringList); |
|
 |
procedure CheckString(const AString: string; const AErrors: TObjectVector); |
Spellchecks AString and returns result. Will create an array of TSpellingError objects, one entry for each misspelled word. Offsets of TSpellingErrors will be relative to AString.
|
Properties
 |
property AspellMode: string read FAspellMode; |
|
 |
property AspellLanguage: string read FAspellLanguage; |
|
Generated by PasDoc 0.15.0.
|