• Login
Community
  • Login

Developing new Plugin - get switching tab event

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
2 Posts 2 Posters 317 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.
  • C
    chersanz
    last edited by Jan 28, 2021, 12:31 PM

    Hi,

    I’m new here and I’ve just started the development of a new plugin. The first version I’m working on I hide and show lines when selecting commands. These commands stay selected.

    Now, when I change to another tabs the commands in the plugin stay selected if the where in the previous tab.

    How can I keep the state of every tab so each one show its status?

    Thanks

    E 1 Reply Last reply Jan 28, 2021, 12:34 PM Reply Quote 0
    • E
      Ekopalypse @chersanz
      last edited by Jan 28, 2021, 12:34 PM

      @chersanz

      you are looking for bufferactivated event.
      One way to track this is to use setproperty and its get variant.
      Or you do write your own document management.

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