Go Back   Scooter Forums > Beyond Compare 3 Discussion > General Discussion
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 04-Jan-2010, 11:59 AM
coder coder is offline
Visitor
 
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.
Reply With Quote
  #2  
Old 04-Jan-2010, 12:56 PM
Michael Bulgrien Michael Bulgrien is offline
Carpal Tunnel
 
Join Date: Oct 2007
Location: Pennsylvania
Posts: 1,766
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.
__________________
BC v3.3.5 build 15075
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Last edited by Michael Bulgrien; 04-Jan-2010 at 01:11 PM.
Reply With Quote
  #3  
Old 04-Jan-2010, 01:09 PM
Michael Bulgrien Michael Bulgrien is offline
Carpal Tunnel
 
Join Date: Oct 2007
Location: Pennsylvania
Posts: 1,766
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".
__________________
BC v3.3.5 build 15075
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Last edited by Michael Bulgrien; 04-Jan-2010 at 01:39 PM.
Reply With Quote
  #4  
Old 04-Jan-2010, 02:32 PM
Chris Chris is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 3,792
Default

Michael,

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:22 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.