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.
Thanks.
-
@leonardo-silva
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. :)
-
@leonardo-silva said in Need some extra messages for plugins:
Posted there
Specifically, issue #11253
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login