Richard MacLemale <[EMAIL PROTECTED]> recently wrote:

>Why?  I'm trying to create a spell check engine that does spell checking "on
>the fly", the same way that Microsoft Word 98 does.  I've gotten pretty
>darned far with it, but I need a way of checking the spelling words that the
>user pastes.  If I HAVE to, I can check every word in the whole entire field
>each time the pasteKey message occurs, but my preference would be to find a
>better solution.

If you are looking for a spell-checker for MetaCard, Richard, one is
already available called spellCheck.mc with a 130,000 word dictionary. It
can be called at any time simply by using spellcheck <string>.

   start using stack "spellCheck"

   spellcheck word 1 to 3 of fld "myField"
   spellcheck "Just a test"
   spellcheck fld 1

A copy was sent to Scott and Kevin for their Contributions directories and
it is also on www.flexibleLearning.com in the XTalk section.

To handle your paste situation, you could trap for an end of word or
closeField.

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to