In der aktuellen Version von WPSpell hängt sich das Fenster mit den Rechtschreibvorschlägen beim Durchlauf auf. Ich habe jetzt die voherige Version genommen und alle Einstellungen beibehalten. Damit funktioniert es problemlos.
Code
Einstellungen
userDict:=IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName));
WPSpellController:=TWPSpellController.Create(self);
WPSpellController.UserDictAdd(userDict+'UserDic\'+DM.OraSession.Username+'.dic');
WPSpellController.InitialDirectory:= ExcludeTrailingPathDelimiter(userDict);
WPSpellController.AddFromPath(WPSpellController.InitialDirectory);
WPSpellController.CurrentLanguage:=1031;
WPSpellController.INIFilePath:=userDict+'mykene2.ini';
WPSpellController.MemoryMode:=wpspellUseMemory;
WPSpellController.PersistencyMode:=wpUseINIFile;
WPSpellController.SuggestMode:=[wpSuggestAutoOpenDictionaries];
WPSpellController.Active:=true;
Aufruf
WPSpellCheckInterface.SpellCheck(Editor, wpCheckFromStart);
Alles anzeigen