Community
    • Login

    Need some extra messages for plugins

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    4 Posts 3 Posters 309 Views
    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
      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
        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
          Leonardo Silva @Ekopalypse
          last edited by

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

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