Changeset 1720 for cprs/branches
- Timestamp:
- May 20, 2015, 11:09:49 AM (10 years ago)
- Location:
- cprs/branches/HealthSevak-CPRS/CPRS-Lib/Hans SpellCheck
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/HealthSevak-CPRS/CPRS-Lib/Hans SpellCheck/skaSpellCheck.pas
r1718 r1720 83 83 FIgnoreWordWdigits: boolean; 84 84 FIgnoreCaps: boolean; 85 85 FOptionsKey: String; 86 86 function AddCustomWord(aWord: String; isInternal: Boolean = False): Boolean; 87 87 overload; virtual; … … 372 372 FUndoList := TStringList.Create; 373 373 374 FOptionsKey := '\software\' 375 + ChangeFileExt(ExtractFileName(Application.ExeName),'') 376 + '\skaHunSpellCheckOptions'; 374 377 if csDesigning in componentState then 375 378 begin … … 439 442 440 443 //first get the dicationary file name 441 Reg.OpenKey( '\software\'+ ChangeFileExt(Application.ExeName,'') + '\skaHunSpellCheckOptions',True);444 Reg.OpenKey(FOptionsKey,True); 442 445 if reg.ValueExists('DicFileName') then 443 446 DictionaryFileName:=Reg.readString('DicFileName') … … 529 532 i: Integer; 530 533 begin 534 Result := False; 531 535 if IgnoreAllCaps then 532 536 begin … … 878 882 879 883 880 Reg.OpenKey( '\software\'+ ChangeFileExt(Application.ExeName,'') + '\skaHunSpellCheckOptions',True);884 Reg.OpenKey(FOptionsKey,True); 881 885 882 886 //first save the dicationary file name
Note:
See TracChangeset
for help on using the changeset viewer.