mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
372bf92c0b
ispell compatible program. PR: 26084 Submitted by: Michael Johnson <ahze@ahze.net>
11 lines
460 B
Plaintext
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/
|