EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spell Checking Word List

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
keithml



Joined: 25 Jul 2006
Posts: 12
Location: Florida

PostPosted: Tue Aug 21, 2007 3:28 pm    Post subject: Spell Checking Word List Reply with quote

Does econtrol have a word list for spelling or is there a place I can download open source or public domain word lists for common words?

Thanks,
Keith
Back to top
View user's profile Send private message Visit poster's website
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Thu Aug 23, 2007 8:03 am    Post subject: Reply with quote

No we have not own word lists.
There are opened word lists.

I tested some of them, but the quality of word lists I tested is not good, so I recommend to use commertial 3d-party spell checking library.

To integrate it with syntax memo (for active highlighting) use TecSpellChecker.OnCheckWord event.

Michael.
Back to top
View user's profile Send private message Send e-mail
keithml



Joined: 25 Jul 2006
Posts: 12
Location: Florida

PostPosted: Fri Aug 24, 2007 7:09 pm    Post subject: Addict support? Reply with quote

Just curious, do you plan to or already have support for the Addict spell checker. I have this one and I know it is a popularly supported spell checker.

Thanks again,
Keith
Back to top
View user's profile Send private message Visit poster's website
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Sun Sep 16, 2007 9:02 am    Post subject: Reply with quote

Hello,

It is easy to integrate with Addict spell checker.

Write TecSpellChecker.OnCheckWord event handler and use TAddictSpell3Base.WordExists method:

Code:
procedure TForm1.ecSpellChecker1CheckWord(Sender: TObject;
  const AWord: String; APos: Integer; var Valid: Boolean);
begin
   Valid := AddictSpell3Base1.WordExists(AWord);
end;


In this case you will use dictionaries of Addict and implement live spell checking via TecSpellChecker.

Michael.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group