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.
    • Gary SmithG
      Gary Smith
      last edited by

      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

      EkopalypseE Alan KilbornA 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Gary Smith
        last edited by

        @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
        • Alan KilbornA
          Alan Kilborn @Gary Smith
          last edited by

          @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 ?

          Gary SmithG 1 Reply Last reply Reply Quote 2
          • Gary SmithG
            Gary Smith @Alan Kilborn
            last edited by

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