Skip to content

Want to see the whole file #5

Open

Description

@flashover

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.

Activity

  1. chrisharrison commented on Nov 18, 2011

    @chrisharrison

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

  2. dkern commented on Mar 20, 2012

    @dkern

    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.

  3. Tripstrue commented on Jul 30, 2012

    @Tripstrue

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

    mfg Andi

  4. angulion commented on Jan 9, 2014

    @angulion

    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,
    );

  5. djfly commented on Aug 19, 2014

    @djfly

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

  6. migliori commented on Aug 3, 2017

    @migliori

    '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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions