Page 5 of 5 FirstFirst ... 345
Results 41 to 46 of 46
  1. #41
    Join Date
    Jan 2007
    Posts
    29

    Default

    Oh, comparing minified JavaScript files, I found out that it already does word-wrap. Just in a very uncontrolled way.

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

    Default

    Hello,

    Sorry, no new news at this time.
    Aaron P Scooter Software

  3. #43
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,742

    Default

    Hello,

    Yes, while we don't support wrapping in the current version, a partial workaround is to use an external conversion which normalizes whitespace and line breaks to help control the layout of each file. I assume this may be what is happening for your minified files. We have a few for download under Additional File Formats to "tidy" specific extensions, as well as a general KB article:
    http://www.scootersoftware.com/downl..._moreformatsv4
    http://www.scootersoftware.com/suppo...rnalconversion
    Aaron P Scooter Software

  4. #44
    Join Date
    Jan 2007
    Posts
    29

    Default

    Ehm no, the line just breaks after a few thousand columns, all lines at the same length. I guess BC couldn't handle longer lines and just gives up by inserting a line break there. This wrapping is of course completely useless.

  5. #45
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,742

    Default

    The File Format controls what the max line length is under the Tools menu -> File Formats dialog (select specific or Everything Else text format).

    Under the Conversion tab, the default value is 4096, with a max value of 65536.
    Aaron P Scooter Software

  6. #46
    Join Date
    Oct 2011
    Posts
    37

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    Yes, while we don't support wrapping in the current version, a partial workaround is to use an external conversion which normalizes whitespace and line breaks to help control the layout of each file. I assume this may be what is happening for your minified files. We have a few for download under Additional File Formats to "tidy" specific extensions, as well as a general KB article:
    http://www.scootersoftware.com/downl..._moreformatsv4
    http://www.scootersoftware.com/suppo...rnalconversion
    The second link is an interested read.. will have to follow up on that.

Posting Permissions

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