Class TAbstractSpeller (unit Spellers)

Inherits from

TObject

Constructors


constructor Create(Language: TLanguage; Owner: TSpellChecker; Options: TSpellOptions);

TAbstractSpeller


Functions

procedure Add(Word: String);


procedure ChangeAlways(Word, NewWord: String);


procedure ChangeOnce(Word, NewWord: String);


function FindMisspell(Buf: PChar; MaxLen: Integer; var Start, Len: Integer): TSpellReturnCode;


function FindNextMisspell(Buf: PChar; MaxLen: Integer; var Start, Len: Integer): TSpellReturnCode;


function GetChangeText: String;


function GetMisspellText: String;


procedure GetVariants(Word: String; Variants: TStrings);


procedure IgnoreAlways(Word: String);


Properties

property ChangeText : String


property Language : TLanguage


property MisspellText : String


property NotActive : Boolean


property Options : TSpellOptions


Events

Variables

FLanguage : TLanguage;


FNotActive : Boolean;


FOptions : TSpellOptions;


SpellChecker : TSpellChecker;



Constructors


constructor Create(Language: TLanguage; Owner: TSpellChecker; Options: TSpellOptions);

TAbstractSpeller


Functions


procedure Add(Word: String);


procedure ChangeAlways(Word, NewWord: String);


procedure ChangeOnce(Word, NewWord: String);


function FindMisspell(Buf: PChar; MaxLen: Integer; var Start, Len: Integer): TSpellReturnCode;


function FindNextMisspell(Buf: PChar; MaxLen: Integer; var Start, Len: Integer): TSpellReturnCode;


function GetChangeText: String;


function GetMisspellText: String;


procedure GetVariants(Word: String; Variants: TStrings);


procedure IgnoreAlways(Word: String);


Properties


property ChangeText : String


property Language : TLanguage


property MisspellText : String


property NotActive : Boolean


property Options : TSpellOptions


Events


Variables


FLanguage : TLanguage;


FNotActive : Boolean;


FOptions : TSpellOptions;


SpellChecker : TSpellChecker;