Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jul 2015
    Posts
    2

    Default Word wrap in text-compare

    It would be great if in the plain text-compare sessions I could have the lines word-wrap automatically. I'm stuck going to the end of the line and manually adding crlfs for both windows now, and it's quite tedious. I need to do it so often that I've created a regex in Notepad++ to create crlfs after a certain number of characters per line, but even that is pretty annoying to use.

    I've seen this feature requested for BC2 in old threads. If it's possible, how do I do it? If not: please put my +1 on that feature request.

    Love the product, have been using it for years. I'd post more on the forums, but there's not much to complain about!

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    Hello,

    Thanks for the feedback. We do not have a method of automatically line wrapping within the view and it is still on our wishlist. However, if you are inserting line breaks manually, we do have a method to do this: Go to the Tools menu -> File Formats, and select your specific format, edit the default, or create a new format (recommended), and in the new Text format's Conversion tab, you can set a Characters per line limit to auto-insert a line break at a specific limit.

    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.
    Aaron P Scooter Software

  3. #3
    Join Date
    Jul 2015
    Posts
    2

    Default

    I did not consider that approach - it actually does do what I now do manually! Thanks a bunch, it works pretty well for me right now, as I can get away with setting it to 'Everything else' for my clipboard compare sessions. The feature would still be cool, but more on a nice-to-have basis now, as I'm fine with changing the file.


  4. #4
    Join Date
    Oct 2011
    Posts
    31

    Default

    There are files that have a whole lot of text (sometimes entire text) "streamed" and "concatenized" on a single line. Doing a text or similar compare of them is tough.

    Have seen this typically with JS/ JSON/ CSS files and some Chrome (example - Preferences - No extension) files.

    How could I enforce your suggestion of New File type when file like this has no extension?

    Is there some way to work through them? Word wrap or jump from one difference to next?


    Apparently, this has been on wish list since 2005/ 2008/ 2013 and not been added?
    http://www.scootersoftware.com/vbull...ight=word+wrap
    http://www.scootersoftware.com/vbull...ight=word+wrap
    http://www.scootersoftware.com/vbull...ight=word+wrap
    Last edited by crashnburn; 10-Aug-2015 at 06:41 AM.

  5. #5
    Join Date
    Oct 2011
    Posts
    31

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    Thanks for the feedback. We do not have a method of automatically line wrapping within the view and it is still on our wishlist. However, if you are inserting line breaks manually, we do have a method to do this: Go to the Tools menu -> File Formats, and select your specific format, edit the default, or create a new format (recommended), and in the new Text format's Conversion tab, you can set a Characters per line limit to auto-insert a line break at a specific limit.

    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.
    Shouldn't there be a way to do so without actually adding data? E.g. (file types posted above)

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    Hello,

    Our file formats which perform a conversion will present the file in a tidied form, but this does 'add data' so any save would save in the new format. We don't currently support arbitrary wrapping of the display, but it is something on our wishlist. Our current design presents the files as they are in their native format, and also allows us to perform line by line comparisons very quickly, while the file is still loading to update the display, and open very large files. Adding the ability to wrap is on our radar, but isn't a small change to implement.

    For other formats we have additional downloads which can tidy formats, such as Java or HTML. Custom conversions can also be inserted, using this as an example:
    http://www.scootersoftware.com/suppo...rnalconversion

    The file mask of a format could be defined to match on specific names, instead of using the "*.ext" convention. Or if no mask can be defined, you could load your files first using the defaults, then switch to the format for viewing using the File Formats toolbar dropdown menu (clicking the little arrow next to the Format button with the gear icon).
    Aaron P Scooter Software

  7. #7
    Join Date
    Oct 2011
    Posts
    31

    Default

    Is there anyway I can 'force' a "File type" for a file that has no extension when pulled in BC?
    E.g. Chrome preferences files that are JS/ JSON files but have no extension.
    PS: I guess JS/JSON is supported file type for Viewer/ Editor?

  8. #8
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,584

    Default

    crashnburn,

    File masks aren't just for file extensions, it's a mask of the full filename, so you can match on name without extension. If the files have names like foo123, foo456, foo789, you can define foo*.* as the mask.

    You can also click the Format dropdown below the left and right path edits in the Text Compare to force a specific file format.
    Chris K Scooter Software

  9. #9
    Join Date
    Sep 2015
    Posts
    3

    Default

    Quote Originally Posted by Aaron View Post
    ...it is still on our wishlist
    @Aaron - any idea when this long awaited feature will be added? Is it planned for release within v4?

  10. #10
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    Hello,

    We've been pretty busy with a large variety of bug fixes, features, and 64bit support back-end. We have not been able to tackle this one and don't have a timeframe to announce. Text wrapping would probably require an extensive re-work of the Text Compare, which means it probably wouldn't make it into BC4.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •