Community
    • Login

    Find/remove duplicate multiple lines and keep the first occasions

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    removeline replacemultiple lines
    22 Posts 4 Posters 6.0k Views 1 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.
    • W den BoerW Offline
      W den Boer @Terry R
      last edited by

      @Terry-R I finally found time to test the macro. I was so happy with the method you described, I did not had the need of testing the macro…

      But, bad news. It doesn’t do the same. It removes too much. I could sent you the total files. I just don’t want to post them here.

      I think I do understand the method without the macro. And at the moment I feel confident in using it and maybe even altering it for another sort-like problem…but I will be back about that.

      Thanks a lot ,

      Wdeb

      Terry RT 1 Reply Last reply Reply Quote 0
      • Terry RT Offline
        Terry R @W den Boer
        last edited by

        @W-den-Boer said in Find/remove duplicate multiple lines and keep the first occasions:

        But, bad news. It doesn’t do the same.

        Sorry to hear the macro failed to faithfully follow the steps I had outlined. At least with the steps you may be able to generate your own macro. I will suggest if doing so to select the very first position in the file between each major step using Ctrl-Home (I think thats the hotkey).

        Lately I’ve been seing what appears to be an anomaly where after a process has finished a word is highlighted. As this becomes a “selection” any subsequent process will likely ONLY work on that selection rather than the whole document.

        Terry

        1 Reply Last reply Reply Quote 0

        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