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 42.8k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors