Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    7

    Default Hide a portion of a file

    Considering two files are being compared size by size, is it possible to hide some portion(s) of one or another file? This feature could be very useful to compare two revisions of the same source file after major updates. The default behavior works great but sometimes gets confused in such cases and incorrectly identifies the differences. A user could help generate better results by selecting and taking certain portion of the text away so it will not be used in the comparison process. You can achieve similar behavior by selecting and deleting some text but you can accidentally save a file and corrupt the original file.

  2. #2
    Join Date
    Oct 2007
    Location
    Pennsylvania
    Posts
    1,772

    Default

    Sure...
    1. Create a selection (click and drag in the left margin / line number field)
    2. Right-click on the selected text (not the left margin) and choose Isolate from the context menu if you don't wan't the selected lines aligned with text on the other side of the compare.
    3. Right-click on the selected text (not the left margin) and choose Ignored from the context menu to omit the text from the compare
    4. If you filter on lines with differences, all same and ignored lines will be hidden.
    Last edited by Michael Bulgrien; 04-Jan-2010 at 01:11 PM.
    BC v4.0.7 build 19761
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

  3. #3
    Join Date
    Oct 2007
    Location
    Pennsylvania
    Posts
    1,772

    Default

    Suggestions to Scooter:

    It would be nice to be able to collapse/hide Ignored lines (separately from the diff toggles)... Another idea might be to provide a toggle that grays out ignored text or the background color of ignored text.

    If one recompares the files, the Ignored lines are re-entered into the compare. It would be nice if Ignored files stayed ignored when the user clicks on "Recompare files".
    Last edited by Michael Bulgrien; 04-Jan-2010 at 01:39 PM.
    BC v4.0.7 build 19761
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,676

    Default

    Michael,

    Thanks for the suggestion. I'll add it to our wish list item for enhancements to ignored text.
    Chris K Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •