Commit: Enchant allows provider orderings

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Sat Jul 19 2003 - 12:37:46 EDT

  • Next message: Dennis Heuer: "bug 5420"

    Users can now set orderings for language tags. This
    means that you can systematically say that you prefer
    "ispell, then apsell, then myspell" for English,
    etc...

    The file's syntax is this (no spaces allowed):

    tag:provider1,provider2,...,providerN

    with a special exception for the '*' language tag,
    which is a toplevel filter that applies to any
    language that does not explictly provide an ordering.

    Example file:
    *:aspell,ispell,myspell,uspell
    en_US:aspell,myspell,ispell
    de_DE:ispell,myspell,aspell

    Unlisted providers will fall behind the last provider
    in your ordering.

    It loads such a configuration file from both a global
    and local configuration file. Enchant also provides an
    API for a consuming program to modify said ordering at
    runtime.

    Also, I've added "Describe all the providers"
    functionality.

    I'm sufficiently happy with Enchant now that I plan on
    updating its webpage and presenting it to
    Freedesktop.org and asking that it go through the
    process to become a Freedesktop.org standard.

    Cheers,
    Dom

    __________________________________
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    http://sbc.yahoo.com



    This archive was generated by hypermail 2.1.4 : Sat Jul 19 2003 - 12:51:26 EDT