• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
wrapping aspell code in catch so that startup doesn't fail if an error is thrown

I rewrote the check for aspell or ispell so it actually works.

1) Replaced the spell-check radio buttons with a pull-down menu of available dictionaries.

2) Added a SpellcheckDialectsP param to let the SWA choose between just 'en' and 'fr', as opposed to 'en_CA', 'en_GB', 'en_US', 'fr_CA' and 'fr_FR' ... for instance. (It is read from spellcheck-init.tcl so it demands a server restart.)

3) The init script auto-detects all of this according to the brand of the spell-check binary, its presence, etc.

4) There is currently support for: aspell, ispell or no spell-checking.

  1. … 5 more files in changeset.
1) Added auto-detection of the spell-checker binary on startup. Lars Pind bug 886 . Til suggested it the first time around (Thanks).

2) Optimized the code some.

3) Removed the SpellcheckerPath param and added explaining text to the other param.

    • -0
    • +20
    ./spellcheck-init.tcl
  1. … 2 more files in changeset.