Re: WPTools 5.06 - wordprocessing comp. suite based on new, modern RTF + HTML/CSS Engine (by WPCubed GmbH)
From: Julian Ziersch (news_at_wptools.de)
Date: 08/30/04
- Next message: Ella Perelman [AidAim Software]: "Accuracer Database System for $75 (SU) / $155 (MU) only - 2 days left"
- Previous message: Falanga Alain: "Re: Searching for an "old attachement" file"
- In reply to: Gene: "Re: WPTools 5.06 - wordprocessing comp. suite based on new, modern RTF + HTML/CSS Engine (by WPCubed GmbH)"
- Next in thread: Bob: "Re: WPTools 5.06 - wordprocessing comp. suite based on new, modern RTF + HTML/CSS Engine (by WPCubed GmbH)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 08:41:27 +0200
Hi Gene,
>If you are in the process of implementing the spell check routines,
>it would be helpful if you also have a Spell_GetPreviousWord procedure in
>addition to the Spell_GetNextWord. This would help in using spell checking
>as you type in order to pick up repeated (duplicated) words
>in addition to misspelled words. Right now, I can only pick up
>misspelled words as I type. (I can pick up repeated words if
>I spell check the entire text string; I would like to pick up repeated
>words as I type.)
Since GetNextWord is used to step through the text word by word I
think GetPreviousWord is not useful - simply store the previos string
and check.
You can also pretty easy develop SpellAsYouGo by using the event
OnSpellCheckWord .
// attached with: WPRichText1.Memo.OnSpellCheckWord :=
// DoSpellCheckWord;
procedure TForm1.DoSpellCheckWord(Sender: TObject;
var word: WideString;
var resultvalue: TSpellCheckResult;
var hyphen_pos: TSpellCheckHyphen;
par: TParagraph;
posinpar: Integer
);
begin
if Word<>'misspelled' then
begin
resultvalue := [];
end
else
begin
resultvalue := [spMisSpelled];
end;
end;
The 'OnMouseDownWord' event makes it possible to create a popup for
misspelled words.
Julian Ziersch
- Next message: Ella Perelman [AidAim Software]: "Accuracer Database System for $75 (SU) / $155 (MU) only - 2 days left"
- Previous message: Falanga Alain: "Re: Searching for an "old attachement" file"
- In reply to: Gene: "Re: WPTools 5.06 - wordprocessing comp. suite based on new, modern RTF + HTML/CSS Engine (by WPCubed GmbH)"
- Next in thread: Bob: "Re: WPTools 5.06 - wordprocessing comp. suite based on new, modern RTF + HTML/CSS Engine (by WPCubed GmbH)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|