Community
    • Login

    Synchronize line highlight?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 3.6k Views 2 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.
    • Redwood RyanR Offline
      Redwood Ryan
      last edited by

      New to Notepad++, wondering why it has taken me so long to discover this awesome tool! I am using it to edit two similar, but different, xml files. Both files have all the same structure, but the data is different, and I need to modify some of the data points in File #2 based on the values of the data in File #1.

      I can line up the files side-by-side, and synchronize the scrolling so that both files are always in the same place. When I click in the field of File #2 to make an edit, the entire line highlights - what I would love is to be able to have the same line highlight in File #1, to make it easier to refer to the same field I am modifying in that file. Just like synchronized scrolling, but with line highlights.

      Is this do-able? Thanks in advance for any suggestions!

      Dave

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS Offline
        Scott Sumner @Redwood Ryan
        last edited by

        @Redwood-Ryan

        If you are using version 7.2, there’s a feature to extend the Smart Highlighting feature (bright green highlighting) across the first and second views. If the lines you wish were highlighted in both views contain some semi-unique words, perhaps turning on the Smart Highlighting across views feature (Settings -> Preferences -> Highlighting) and then double-clicking a word in one of the views would get you something workable?

        1 Reply Last reply Reply Quote 0
        • Redwood RyanR Offline
          Redwood Ryan
          last edited by

          Thanks for the idea Scott. I’ve played around with it - unfortunately I don’t think it’s going to do what I want, although I can see that coming in handy for another project! Appreciate the response.

          Dave

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Redwood Ryan
            last edited by

            @Redwood-Ryan

            Do you know Compare plugin?
            I assume that it could be very helpful for you.

            Cheers
            Claudia

            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