auto correct lists priority

Hi,

I was wondering how the priority of the auto correct lists are done.

As part of https://bugs.freedesktop.org/show_bug.cgi?id=63149 I was trying
to define a list for Hebrew which will correct the problems I have with
English.

But for entries which are defined in both lists, I always have the English
settings being in affect, regard less of the text language. Any idea what's
the trigger ?

Kaplan

Hi Lior,

I was wondering how the priority of the auto correct lists are done.

As part of https://bugs.freedesktop.org/show_bug.cgi?id=63149 I was trying
to define a list for Hebrew which will correct the problems I have with
English.

But for entries which are defined in both lists, I always have the English
settings being in affect, regard less of the text language. Any idea what's
the trigger ?

Check editeng/source/misc/svxacorr.cxx
SvxAutoCorrect::SearchWordsInList()

From a short glance I didn't see a reason why English should be

preferred over another language if that exists.

However, on a side note and probably unrelated, ignore the odd nTmpKey1
0x7ff nTmpKey2 0x3ff mask stuff that should be a proper fallback
instead. One more item on my language tag to-do list.. if it's the cause
of the failure you encounter please tell me.

  Eike