Community
    • Login

    Mark line in all files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 1.9k 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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            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