freebsd-ports/textproc/p5-LJ-SpellCheck/pkg-descr
Will Andrews 372bf92c0b Add p5-LJ-SpellCheck 1.0, HTML highlighting misspellings using
ispell compatible program.

PR:		26084
Submitted by:	Michael Johnson <ahze@ahze.net>
2001-04-07 06:24:38 +00:00

11 lines
460 B
Plaintext

The object constructor takes a 'spellcommand' argument. This has to be
some ispell compatible program, like aspell. Optionally, it also takes a
color to highlight mispelled words.
The only method on the object is check_html, which takes a reference to
the text to check and returns a bunch of HTML highlighting misspellings
and showing suggestions. If it returns nothing, then there no misspellings
found.
WWW: http://livejournal.com/code/spellcheck/