Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    44 Posts 3 Posters 35.3k 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.
    • Claudia FrankC
      Claudia Frank @Alguem Meugla
      last edited by

      @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 Reply Last reply Reply Quote 0
      • Alguem MeuglaA
        Alguem Meugla @Claudia Frank
        last edited by

        @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 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @Alguem Meugla
          last edited by

          @Alguem-Meugla

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

          Cheers
          Claudia

          Alguem MeuglaA 1 Reply Last reply Reply Quote 0
          • Alguem MeuglaA
            Alguem Meugla @Claudia Frank
            last edited by

            @Claudia-Frank said:

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

            Yeah, it looks good enough. Ty.

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