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 30-Jul-2012, 04:30 AM
testingcoding testingcoding is offline
New User
 
Join Date: Jul 2012
Posts: 2
Question unable to achieve all my objectives

Hello...

I have encountered two problems while using bc3.
1. I need the difference in cases in two files to be ignored while comparing. When I used "Ignore minor differences" option for the same, I automatically lost the information about the differences in the "spaces and tabs" that existed in the 2 files. I do not want this to happen
2. I need a group of lines that exist between any two specified lines in one file to be compared with a group of lines that exist between any two specified lines in another file and mark the differences that exist.

I am not sure whether these problems are occuring due to my lack of knowledge about bc3 or due to the lack of such options in bc3 itself!! Whatsoever maybe the case, I seek your help and guidance to achieve the above mentioned tasks. Please let me know if such a thing is possible with bc3 or not. If possible, please give a detailed, step by step procedure/instructuions to do so.
Thanking you in advance,
testingcoding
Reply With Quote
  #2  
Old 30-Jul-2012, 08:55 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,521
Default

Hello,

Let me see if I can help here:

1) When comparing two files in the Text Compare, you can go to the Session menu -> Session Settings, Importance tab. Here, checked items are Important, and unchecked items are unimportant. By default, "Everything else" is checked so that text that is not of one of the above Grammar Elements is Important. Also, by default, Character case is unimportant. You can mark Leading, Embedded, or Trailing whitespace as Important if you want to find these differences, and leave Character case as Unimportant to ignore it.

If you have Grammar Elements listed above, you will need to edit the File Format (in the Tools menu -> File Formats), as each grammar element has its own character case options: "This element is case sensitive"

Are these the options you are looking for?

2) Beyond Compare always considers the order of your lines and line breaks as important. You will need to preprocess your files into a sorted order in order to compare your lines. One example of this is using an external conversion, like this:
http://www.scootersoftware.com/suppo...rnalconversion
Or a more general article here: http://www.scootersoftware.com/suppo...=kb_conversion

Alternatively, if you just need to quickly compare a block of text, you can highlight the paragraph on the left, right-click and Copy it, then highlight the block on the right, right-click and select Compare to Clipboard. This will launch a new tab comparing just that text.
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 01-Aug-2012, 04:10 AM
testingcoding testingcoding is offline
New User
 
Join Date: Jul 2012
Posts: 2
Thumbs up Acknowledgement

Thanks a lot for the reply I will post in case of any other clarifications .
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 07:00 AM.


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