Community
    • 登入

    Developing new Plugin - get switching tab event

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    2 貼文 2 Posters 541 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • chersanzC
      chersanz
      最後由 編輯

      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

      EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
      • EkopalypseE
        Ekopalypse @chersanz
        最後由 編輯

        @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 條回覆 最後回覆 回覆 引用 3
        • 第一個貼文
          最後的貼文
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors