1) I added lots of other bells and whistles, but they are specific to our
situation.

things like this:

if char 1 to 3 to tWord = "<p>" then delete char 1 to 3 of tWord
if char -1 of tWord is in "!.,';:%" then delete char -1 of tWord
if char -1 of tWord = quote then delete char -1 of tWord

Actually it is a big long list of corrections to the word before checking,
to look for html coding or punctuation.


2) I found my word-list online, just copied and pasted it into the custom
property. I don't remember where I found it, but if you search for terms
like "spell checker dictionary" you should be able to find one. My list
contains 174,000 words!


3) Actually, in our situation, we don't use an styled text in the field, so
when a spell check is performed, it cleans up the field first:

put field "myField" into tFieldText
put tFieldText into field "myField"

If you are using styled text, then you could do this before your spellcheck
is performed:

set the bgcolor of char 1 to -1 of field "myField" to empty


and that would eliminate and previous bgcolor formatting.


Good luck,

Jonathan
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to