Community
    • Login

    Event when selecting another tab

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    5 Posts 3 Posters 1.0k 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.
    • AZJIO AZJIOA
      AZJIO AZJIO
      last edited by

      I want to know that another document is selected. I will get the document type by file extension. I will open other configuration files.

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • pnedevP
        pnedev
        last edited by

        NPPM_ACTIVATEDOC

        1 Reply Last reply Reply Quote 2
        • EkopalypseE
          Ekopalypse @AZJIO AZJIO
          last edited by

          @AZJIO-AZJIO

          the events are the one which start with NPPN_ as described here, the one you are looking for, as long as I have correctly understood your question, is NPPN_BUFFERACTIVATED

          1 Reply Last reply Reply Quote 8
          • pnedevP
            pnedev
            last edited by

            Yes, @Ekopalypse is right,

            NPPN_BUFFERACTIVATED is the notification,
            NPPM_ACTIVATEDOC is the command message to switch to another doc.

            Thank you @Ekopalypse .

            BR

            1 Reply Last reply Reply Quote 4
            • AZJIO AZJIOA
              AZJIO AZJIO
              last edited by

              It works as it should. Made a AutoCompletion
              https://yadi.sk/d/vaY4MCn3D_OBMw

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors