Closed Bug 1760896 Opened 3 years ago Closed 3 years ago

Port bug 1402822 - Spellchecker needs to allow multiple language dictionaries at the same time

Categories

(Thunderbird :: Upstream Synchronization, task, P1)

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
100 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: darktrojan, Assigned: freaktechnik)

References

Details

Attachments

(1 file)

The existing spellchecker getCurrentDictionary and setCurrentDictionary methods will become getCurrentDictionaries() and setCurrentDictionaries(). We will need to port that as we use those methods in a few places: https://searchfox.org/comm-central/search?q=CurrentDictionary%28&path=mail%2F&case=false&regexp=false

Martin, can you take this?

Assignee: nobody → martin
Priority: -- → P1

I assume we want to keep only allowing the selection of a single dictionary for now? It seems the language selection is also coupled to other logic.

D140242 looks like it will enable selecting multiple. I'd think we should follow.

Bug 1402822 is now on autoland.

Ok, I'll provide a patch that uses the new interfaces then. Actually allowing multiple dictionaries to be selected everywhere can then be done in a less time sensitive followup enhancement.

Sounds good.

Attachment #9269085 - Attachment description: Bug 1760896 - Follow bug 1402822 spell checker interface changes. r=mkmelin → Bug 1760896 - Follow bug 1402822 spell checker interface changes. r=#thunderbird-reviewers

(In reply to Martin Giger [:freaktechnik] from comment #5)

Ok, I'll provide a patch that uses the new interfaces then. Actually allowing multiple dictionaries to be selected everywhere can then be done in a less time sensitive followup enhancement.

I think it's quite likely there's already a bug for this. See if you can find it (or file a new one) and connect it to this bug.

Target Milestone: --- → 100 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a6a0854d76f0
Follow bug 1402822 spell checker interface changes. r=#thunderbird-reviewers,darktrojan

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
See Also: → 1761219
Blocks: 1761221
No longer depends on: 1402822
See Also: → 1402822
See Also: → 1733738
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: