Making word delimiters locale sentitive

From: Jordi Mas (jmas@softcatala.org)
Date: Wed May 01 2002 - 17:08:48 EDT

  • Next message: Dom Lachowicz: "Re: Making word delimiters locale sentitive"

    Hi guys,

    Inside the file abi\src\af\util\xp\ut_misc.cpp there is a struct called
    "s_word_delim".

    In order to make the Catalan spell checker to work properly with AbiWord
    we need to hack this structure to include the "·" character (not recognized
    right now). Also, we need to hack the UT_isWordDelimiter() because
    the '-' character can be part of word in Catalan (ex. copiar-lo).

    In my opinion, all this settings should be locale sensitive and we should
    move them from the code into an external file where we define all this
    setting and can be easily modified for every language.

    What do you think guys? If we agree on how to do this, I can make the
    changes myself.

    Thanks,

    Jordi,



    This archive was generated by hypermail 2.1.4 : Wed May 01 2002 - 17:10:21 EDT