I am running the demo for wpsell (WP4Demo Unit) using Delphi 5 and wptools 4.
When I type a misspelled word, the right click shows the correct word, but when the word is inserted into the document I get & characters in the new word.
WPSPELL & errors in spelling
-
-
- Offizieller Beitrag
Hi,
The spelllink unit should set the property AutoHotkeys to manual.
{$IFNDEF OLDDELPHI}
SpellPopupMenu.AutoHotkeys := maManual;
{$ENDIF}I think I have forgotten that Delphi 5 does not have this property but inserts & chars anyways.
please update this procedure in wpspell_link.pas:
Code
Alles anzeigenprocedure TWPToolsSpellInterface.DoWordPopupClick(Sender: TObject); var i, l : Integer; begin FChanged := TRUE; FCheckedWord := (Sender as TMenuItem).Caption; l := 0; for i:=1 to Length(FCheckedWord) do if FCheckedWord[i]<>'&' then begin inc(l); FCheckedWord[l] := FCheckedWord[i]; end; SetLength(FCheckedWord,l); end;
Julian