You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it would be possible add some sort of API in DSpellCheck for other plugins to change the current language used for spell checks. I know it is not possible at the moment, but having this feature to set the spell language for the docs of a project would be very useful.
I know there is NPPM_MSGTOPLUGIN, but I never used it. What I understand from the docs is that the sending plugin needs to set CommunicationInfo struct properly and send the message to the other plugin. The receiving plugin needs to handle that message in beNotified() (I think).
If this would be possible to add such an API, a second endpoint to enable or disable the spell check would be useful to have.
Activity
Predelnik commentedon Mar 4, 2023
It should not be hard, could be implemented
Support message DSPELLCHECK_SETLANG_MSG via NPPM_MSGTOPLUGIN
Add message on certain actions when no dictionary is present.
ffes commentedon Mar 27, 2024
Great news, thanks.
Is there an easy way to test this before it gets released?
Predelnik commentedon Mar 31, 2024
Unfortunately haven't implemented artifact upload by github actions yet, will do this soon, then it would be easy.
Predelnik commentedon Apr 7, 2024
Now can be tried with this version:
https://github.com/Predelnik/DSpellCheck/actions/runs/8587165792/artifacts/1391687586
Using this api:
https://github.com/Predelnik/DSpellCheck/blob/master/include/PluginMsg.h
ffes commentedon Apr 7, 2024
Thanks for the download. I've tried it and it works as expected. Great!
There is just one thing I run into. I've opened #339 for this.