• Login
Community
  • Login

Synchronize line highlight?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 3.1k 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.
  • R
    Redwood Ryan
    last edited by Nov 8, 2016, 9:10 PM

    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

    S 1 Reply Last reply Nov 8, 2016, 9:26 PM Reply Quote 0
    • S
      Scott Sumner @Redwood Ryan
      last edited by Nov 8, 2016, 9:26 PM

      @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
      • R
        Redwood Ryan
        last edited by Nov 8, 2016, 9:50 PM

        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

        C 1 Reply Last reply Nov 9, 2016, 11:32 PM Reply Quote 0
        • C
          Claudia Frank @Redwood Ryan
          last edited by Nov 9, 2016, 11:32 PM

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