• Login
Community
  • Login

Mark line in all files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 1.4k 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.
  • G
    Gary Smith
    last edited by Dec 5, 2019, 8:53 AM

    Hi guys,

    Is there a way to mark lines in all open files that contain a certain text?

    For example i have 56 files open, all short HTML docs and want to mark all lines containing <img… as they are no longer needed, and each file contains two lines.

    It marks the first line, but not in every open file.

    Thanks

    E A 2 Replies Last reply Dec 5, 2019, 12:08 PM Reply Quote 0
    • E
      Ekopalypse @Gary Smith
      last edited by Dec 5, 2019, 12:08 PM

      @Gary-Smith

      I’m afraid but, afaik, there is nothing builtin.
      The only way I see currently is to use one of the
      scripting language plugins and mimic the
      builtin marking features or by making a feature request
      and hoping someone picks up and does implement it soon.

      1 Reply Last reply Reply Quote 3
      • A
        Alan Kilborn @Gary Smith
        last edited by Dec 7, 2019, 1:20 AM

        @Gary-Smith said in Mark line in all files:

        i have 56 files open…and want to mark all lines containing… as they are no longer needed…

        If the lines are no longer needed, why not craft a regular expression replacement that will do a deletion through use of Replace In Files ?

        G 1 Reply Last reply Dec 10, 2019, 8:20 AM Reply Quote 2
        • G
          Gary Smith @Alan Kilborn
          last edited by Dec 10, 2019, 8:20 AM

          @Alan-Kilborn

          Tanks Alan, that was a great suggestion.

          With each line being a hyperlink it got a bit messy in the end but managed to comment out each line so it no longer appeared :)

          Thanks again

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