" + . nl2br(join("\n", $sqspell_output)) . "" + . ""; + sqspell_makeWindow(null, _("SquirrelSpell is misconfigured."), null, $msg); + exit; +} + +/** + * Load the user dictionary. + */ +$words=sqspell_getLang(sqspell_getWords(), $sqspell_use_app); +/** + * Define some variables to be used during the processing. + */ +$current_line=0; +$missed_words=Array(); +$misses = Array(); +$locations = Array(); +$errors=0; +/** + * Now we process the output of sqspell_command (ispell or aspell in + * ispell compatibility mode, whichever). I'm going to be scarce on + * comments here, since you can just look at the ispell/aspell output + * and figure out what's going on. ;) The best way to describe this is + * "Dark Magic". + */ +for ($i=0; $i
"; - printf( _("Found %s errors"), $errors ); -?> |
- |