Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting multiple spellcheck languages #189

Closed
RealRaven2000 opened this issue Jun 12, 2022 · 4 comments
Closed

Add support for setting multiple spellcheck languages #189

RealRaven2000 opened this issue Jun 12, 2022 · 4 comments

Comments

@RealRaven2000
Copy link
Owner

Thunderbird 102 supports using multiple spellcheck languages concurrently. This patch will support setting multiple languages such as:

%spellcheck(en,de)%

PS: You can still disable automatic spellcheck in a subsequent command %spellcheck(off)%
Related: [Bug 1761221]

@RealRaven2000
Copy link
Owner Author

Test version:

smartTemplate-fx-3.12pre57.zip

To install, download the archive file and drag into Thunderbird Add-ons Manager (don't unpack contents to install)

@RealRaven2000
Copy link
Owner Author

The previous version used legacy code, we can avoid this by using a compose API function:

https://webextension-api.thunderbird.net/en/latest/compose.html#getactivedictionaries-tabid

To Do: rewrite as API function called through notification API.

@RealRaven2000
Copy link
Owner Author

There was still a problem in Tb91 with the undefined global gActiveDictionaries object. Here is a fix that works also with Thunderbird 91.10:

smartTemplate-fx-3.12pre71.zip

To install, download the archive file and drag into Thunderbird Add-ons Manager (don't unpack contents to install)

@RealRaven2000
Copy link
Owner Author

Implemented in 3.12.1 on 28/06/2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant