Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to see the whole file #5

Open
flashover opened this issue Nov 2, 2011 · 7 comments
Open

Want to see the whole file #5

flashover opened this issue Nov 2, 2011 · 7 comments

Comments

@flashover
Copy link

When looking at the Side by Side diff, it shows me something like:


1
2
3
4
5
6

54
55
56


You can see it "compacted" something with those three dots (...). How can I fix it so I would see the whole file?

The library itself works great! I tested another PHP diff library and it didn't respect the TABs in the output.

@chrisharrison
Copy link

I too would like this feature. It would be great to output the whole file and not 'skip' it using the ellipsis.

@dkern
Copy link

dkern commented Mar 20, 2012

Yes, i even would like this feature. I think it should be a basic feature. ;)
Sad to see that the project seems not to be updated anymore.

@Tripstrue
Copy link

Hi!
I need the same, this is not a feature.

mfg Andi

@ghost
Copy link

ghost commented Oct 4, 2012

This feature is greatly needed.

@angulion
Copy link

angulion commented Jan 9, 2014

Checking the code it seems this is doable by just putting a really large value with key 'context' in the options array.
$options = array(
//'ignoreWhitespace' => true,
//'ignoreCase' => true,
'context'=>9999999999,
);

@djfly
Copy link

djfly commented Aug 19, 2014

'context'=>9999999999, not work. are you sure? @angulion

@migliori
Copy link

migliori commented Aug 3, 2017

'context'=>9999999999 does work, you've got to set this in Diff.php's $defaultOptions.

Thanks for the tip, it helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants