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 2.5k 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.
    • W den BoerW
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors