Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Event when selecting another tab

    Plugin Development
    3
    5
    796
    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 AZJIO
      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.

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • pnedev
        pnedev last edited by

        NPPM_ACTIVATEDOC

        1 Reply Last reply Reply Quote 2
        • Ekopalypse
          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
          • pnedev
            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 AZJIO
              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
              Copyright © 2014 NodeBB Forums | Contributors