Go Back   Scooter Forums > Beyond Compare 3 Discussion > Text Compare (2-way)
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 01-Jun-2012, 05:43 AM
emmemm emmemm is offline
New User
 
Join Date: Jun 2012
Posts: 2
Default Compare different parts of one file

Given a text file, how can I compare different parts of that file with each other?

For example I have a source code file and want to compare two functions?

For now I duplicate the file twice and delete all irrelevant parts in those files.
Then I compare this two helper files.

Is there a more elegant way to do the job?

Martin
Reply With Quote
  #2  
Old 01-Jun-2012, 08:23 AM
Aaron Aaron is online now
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,434
Default

Hello,

The easiest method to compare just a specific section to another specific section is:
Select and "copy" function 1/text block. Similar to if you wanted to copy/paste it.
Select the other function, then right click and select "Compare to Clipboard".

This will launch a new tab comparing the first block with the second block.

You can also use our Align With command in the right click menu to 'push' one line or section of text to align with a different line or block on the other side.

How do these methods work for you?
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 01-Jun-2012, 09:08 AM
emmemm emmemm is offline
New User
 
Join Date: Jun 2012
Posts: 2
Default

Hi,

I tried your suggested method an it works pretty well.

Thanks
Martin
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 08:05 AM.


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