Announcement

Collapse
No announcement yet.

Text compare: map lines

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Text compare: map lines

    I am a developer, so I usually use BC to compare code. When I have, for example, 6 lines of code, and they are repeated multiple times with a small changes for every copy. And BC always matches lines wrongly because both sides are very similar. Even worse, this leads all below lines be marked "different". I wish we can have a new feature to "map" a line from the left and a line from the right (that I selected) that I know they are identical. That is a "checkpoint" that I use to compare. And after I do that manually by adding some empty lines, some special words to help BC recognizes the "checkpoint" , it cleans up about 90% of differences.
    Attached Files

  • #2
    Hello,

    We have this under the right click menu -> Align With (select on the left side, single or selection of lines), then click on a single or drag to select on the right side.

    You may also want to try other alignment options (Session menu -> Session Settings, Alignment tab) to see if other options work better for your files, like Patience Diff.
    Aaron P Scooter Software

    Comment

    Working...
    X