-
Notifications
You must be signed in to change notification settings - Fork 33
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
API support to set the language #309
Comments
It should not be hard, could be implemented |
Great news, thanks. Is there an easy way to test this before it gets released? |
Unfortunately haven't implemented artifact upload by github actions yet, will do this soon, then it would be easy. |
Now can be tried with this version: |
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. |
There are several plugin that would like to set the spell language, for instance see this discussion in editorconfig/editorconfig#315, but I would like it to add it to https://github.com/ffes/nppfilesettings as well.
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 setCommunicationInfo
struct properly and send the message to the other plugin. The receiving plugin needs to handle that message inbeNotified()
(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.
The text was updated successfully, but these errors were encountered: