[imp] Word wrap in spell check

Andrew Morgan morgan at orst.edu
Wed Nov 5 10:52:54 PST 2003


My users have noticed that IMP (latest stable release) does not word wrap
the text before it passes it into the spell checker.  If you have written
a paragraph of text (lets say 4 lines worth) the spell checker will
display it as one really long line, with a left-to-right scroll bar.

The actual spell check command is called in spelling.php:

exec("echo $tocheck | " . $conf['utils']['spellchecker'] . ' -a ' . $spell_opt, $warnings);


Would it be possible to have word wrapping performed on $tocheck before
passing it to the spell checker?  Is there a better solution to this
problem?

	Andy



More information about the imp mailing list