Community
    • 登入

    Is there a way/plugin that makes notepad++ run code on a file when we open it?

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    44 貼文 3 Posters 36.7k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Claudia FrankC
      Claudia Frank @Alguem Meugla
      最後由 編輯

      @Alguem-Meugla

      Yes, slightly different regex and for loop can do this but we need to define the cases.

      Is a list ALWAYS a pair of fold from line to line triggers?
      Or is a list with more than two entries ALWAYS fold this line for each item
      and a list with 2 entries a from … to …
      Or …

      Btw, may last post about logic error was not a logic issue.
      Looks like the initial start of npp doesn’t trigger a bufferactivated callback
      or python script hasn’t been started at that time to catch this notification.
      I already changed that and will be included in next version.

      Cheers
      Claudia

      Alguem MeuglaA 1 條回覆 最後回覆 回覆 引用 0
      • Alguem MeuglaA
        Alguem Meugla @Claudia Frank
        最後由 編輯

        @Claudia-Frank
        Oh I though NPP_COLLAPSE(19,41) was going only to collapse lines 19 and 41, but instead it collapse lines 19 to 41… Thank you anyway. This script is very helpful.

        Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
        • Claudia FrankC
          Claudia Frank @Alguem Meugla
          最後由 編輯

          @Alguem-Meugla

          just for clarification, you are happy? No further modification needed?

          Cheers
          Claudia

          Alguem MeuglaA 1 條回覆 最後回覆 回覆 引用 0
          • Alguem MeuglaA
            Alguem Meugla @Claudia Frank
            最後由 編輯

            @Claudia-Frank said:

            just for clarification, you are happy? No further modification needed?

            Yeah, it looks good enough. Ty.

            1 條回覆 最後回覆 回覆 引用 1
            • 第一個貼文
              最後的貼文
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors