https://bugs.documentfoundation.org/show_bug.cgi?id=125600

--- Comment #9 from László Németh <[email protected]> ---
The proposed solution for this problem is to add the mixed case word to the dic
file with the KEEPCASE flag (see man(5) hunspell), and removing it from the
custom dictionary. A possible solution without any dictionary extension is to
check the dictionary for a word with KEEPCASE flag, and use Grammar By input
field in the custom dictionary to specify that word with the new word, e.g.

New word: kWh  Grammar By: kHz

Unfortunately, only the following dictionaries contain KEEPCASE flag now:

$ grep KEEPCASE libreoffice/dictionaries/*/*.aff
de/de_AT_frami.aff:KEEPCASE w
de/de_CH_frami.aff:KEEPCASE w
de/de_DE_frami.aff:KEEPCASE w
fr_FR/fr.aff:KEEPCASE ||
gl/gl_ES.aff:KEEPCASE 999
hr_HR/hr_HR.aff:KEEPCASE ZX
hu_HU/hu_HU.aff:KEEPCASE ?
nl_NL/nl_NL.aff:KEEPCASE Kc

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to