Need some extra messages for plugins
As I am writting a custom Lexer plugin that have custom indentation, I currently have no way to read the Auto-Indent settings from Notepad (and it causes conflict with my plugin). Something like NPPM_GETCURRENTAUTOINDENTSTATUS.
If possible, if I was able to disable built-in auto-indentation temporarily from a command would be nice (although not mandatory). Then I would check the current status, auto-set it to disable, and when language changed (or program exitted) I would restore the previous state.
Also, I can’t read whether the user is currently recording/playing a macro properly. This also causes conflict with the plugin functionality. I already studied the code and found a WM_GETCURRENTMACROSTATUS but it is not enough, since it doesn’t tell me if a macro is running.
Ekopalypse last edited by PeterJones
I agree, but I think you have a better chance of someone taking care of it if you post a feature request here.
Personally, I think there is also a need for something like NPPN_CONFIGURATION_CHANGED with wparam an ID that
points to the setting and lparam 0 or 1 for boolean on/off and -1 if it is necessary to call another NPPM_ message to see what the current state is.
@ekopalypse thanks for pointing out. Posted there. :)
PeterJones last edited by