Announcement

Collapse
No announcement yet.

Word wrap in text-compare

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Hello,

    Different tools are frequently changing or enhancing their feature sets, but there's a decent list of tools here:
    https://en.wikipedia.org/wiki/Compar...mparison_tools
    Aaron P Scooter Software

    Comment


    • #17
      I being using BeyondCompare for 10+ years and did a lot of marketing around me but recently I was forced to have to work with files that have very long form and I also have a 13" monitor on my MBP....

      Shortly using BC become a big PITA and failure to implement a fix for this long standing critical issue makes me doubt my "brand-commitment".

      The answer I was hopping for is that, even if this is a technical challenge, there is someone working on it and that there is a way to enable a preview mode for this option for those wanting to test unreliable code.

      Comment


      • #18
        Wrapping the display is something we want to tackle, but is not a small issue to design or implement. We don't have any kind of preview mode or debug build that has this feature (partial or buggy).

        One thing that helps is the Next Difference (Ctrl+Shift+N) command, which navigates horizontally within a line. The general strategy is to configure BC4's comparison criteria, and then use the filters and commands to navigate between sections of text or the text itself.
        Aaron P Scooter Software

        Comment


        • #19
          So I'm another user that has found this forum thread. Whilst I understand this may be some work to do it really is just odd its not a feature of a program like this. Also dealing with long text strings spat out by code that are not very readable unless I can wrap.


          Originally posted by Aaron View Post
          Wrapping the display is something we want to tackle, but is not a small issue to design or implement. We don't have any kind of preview mode or debug build that has this feature (partial or buggy).

          One thing that helps is the Next Difference (Ctrl+Shift+N) command, which navigates horizontally within a line. The general strategy is to configure BC4's comparison criteria, and then use the filters and commands to navigate between sections of text or the text itself.

          Comment


          • #20
            I have been a big fan of BC but the lacking of this particular feature really grinds my gears. It is really frustrating to horizontally scroll and look at the differences.

            I am using a different tool just for this purpose. It is hard to switch back and forth between tools, but it is not harder than horizontally scrolling.

            Comment


            • #21
              This really is almost a deal-breaker, especially as it has apparently been on your todolist since at least since 2008,... as in 10 years ago!

              Comment


              • #22
                Originally posted by bay_baobab View Post
                I have been a big fan of BC but the lacking of this particular feature really grinds my gears. It is really frustrating to horizontally scroll and look at the differences.

                I am using a different tool just for this purpose. It is hard to switch back and forth between tools, but it is not harder than horizontally scrolling.
                What tool are you using for this? Please do share. Thanks.

                Comment


                • #23
                  Originally posted by crashnburn View Post
                  What tool are you using for this? Please do share. Thanks.
                  I don't think there is one, but then most tools I have used for comparing text files are free.

                  Such a feature could further differentiate a paid for tool vs free.

                  As you say this has been a promised feature for years and given the unique position it would place Beyond Compare I'm surprised this feature hasn't been implemented.

                  Comment


                  • #24
                    This has been one of the features that I've been wanting for quite some time. I frequently edit text documents and reflow paragraphs when I add or remove content. Having a "conversion" tool that reflows paragraphs prior to conversion doesn't really help when you add/remove text at the beginning of the paragraph -- such changes will affect the reflowing of every line.

                    GNU Emacs's "ediff" utility actually does this quite nicely. Let's say I have two files that look like:

                    This is a test of the
                    emergency broadcasting
                    system.
                    and

                    This is an exciting test
                    of the emergency
                    broadcasting system.
                    When I compare these in "ediff", it initially has a diff section fully highlighting both paragraphs. But if you type "*", it enables a "refine" mode. All lines of both paragraphs are displayed as a diff section, but only the text that actually changed is highlighted with a brighter background. That's "a" on the first line of the first example and "an exciting" on the first line of the second. The rest of the text is not highlighted, even though several words changed lines. BC4 highlights more words on these lines.

                    Comment


                    • #25
                      Thanks for the example and feedback.
                      Aaron P Scooter Software

                      Comment


                      • #26
                        many txt editor or diff tool can have Word wrap
                        don't know why bc can't have this

                        Comment


                        • #27
                          Originally posted by crashnburn View Post
                          What tool are you using for this? Please do share. Thanks.
                          meld (free, open source) on Linux does this. I'm a bit annoyed, because I recently upgraded from regular BC to the Pro version to get the 3-way merge facility and I've found that I prefer meld because it does word-wrap.

                          Don't get me wrong, I think that BC is great - things like the image compare, etc. are brilliant, but to have spent the money on the upgrade to find that word-wrap is the killer feature in meld kind of sucks. :-(

                          Tim

                          Comment


                          • #28
                            Originally posted by Aaron View Post
                            This inserted line break is actual data and is not just for display. If you save the file, it will save with these line breaks inserted.
                            I can't have my merge tool insert line-breaks in files because it might break the code, so cannot use this as a workaround.

                            Comment


                            • #29
                              Hello,

                              One quick thing to point out: the line breaks presented in the display when lines exceed the Character line limit are removed during the Save. The output should be in the original format and not break any code.

                              This is not ideal compared to a full line wrapping solution, since the internal line breaks effect the comparison, but any edit or merge output should be presented back in the original structuring. A displayed line wrap is something we would like to tackle, but is a very large project.

                              A side note is that the Characters per line limit can also be increased to try and avoid these breaks entirely, in the Tools menu -> File Formats, select your specific format, and in the Conversion tab increase the limit of characters allowed per line (default 4096).
                              Aaron P Scooter Software

                              Comment

                              Working...
                              X