Community
    • Login

    Need some extra messages for plugins

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    4 Posts 3 Posters 776 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      Leonardo Silva
      last edited by

      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.

      EkopalypseE 1 Reply Last reply Reply Quote 2
      • EkopalypseE Offline
        Ekopalypse @Leonardo Silva
        last edited by PeterJones

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

        L 1 Reply Last reply Reply Quote 4
        • L Offline
          Leonardo Silva @Ekopalypse
          last edited by

          @ekopalypse thanks for pointing out. Posted there. :)

          PeterJonesP 1 Reply Last reply Reply Quote 4
          • PeterJonesP Offline
            PeterJones @Leonardo Silva
            last edited by

            @leonardo-silva said in Need some extra messages for plugins:

            Posted there

            Specifically, issue #11253

            1 Reply Last reply Reply Quote 2

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors