Skip to content

API support to set the language #309

@ffes

Description

@ffes

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions