WPCubed Product Support

Spell Check

Does anybody know where one can find out the necessary steps for adding edspell version 7 to wptools 5. So far I have added the necessary units to my project but I am unsure what I have to do next such as setting dictionary location etc. Thanks for your help.

#1 ♥ 0
3.4k Views 2 users read 1 min
support

EDSSpell is loading a default DCT file.

I recommend to change the procedure

function TWPSpellCheckInterface.GetEdsSpell: TWPTSpellDlg;
begin
  if not assigned(FEdsSpell) then
  begin
    FEdsSpell := TWPTSpellDlg.Create(nil);
    FLastDictionary := '';
  end;
  if EDSDictionary <> FLastDictionary then
  begin
    FEdsSpell.DictionaryName := ExtractFileName(EDSDictionary);
    FEdsSpell.DictionaryPath := ExtractFilePath(EDSDictionary);
    FLastDictionary := EDSDictionary;
  end;
  Result := FEdsSpell;
end;

in the file eds_wptools to load the dictionary right when the component is created.

Julian Ziersch

#2 ♥ 0
This category is archived. No new posts are possible.