• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: semi OT: converting strings to 80 column wide "pretty print"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: semi OT: converting strings to 80 column wide "pretty print"


  • Subject: Re: semi OT: converting strings to 80 column wide "pretty print"
  • From: Joe Little <email@hidden>
  • Date: Sun, 11 Jul 2010 20:57:39 -0700

One could say I'm looking for a better ERXSimpleHTMLFormatter -- one
that inserts breaks at appropriate points, but perhaps I'm looking for
the wrong solution, and that CSS is the right thing here?


On Sun, Jul 11, 2010 at 8:43 PM, Joe Little <email@hidden> wrote:
> I have a request in to deal with the usual Word text pasted into a
> large text field. I found the great examples already on this list for
> solving odd character conversion. What I'm stuck on and hoping to
> avoid re-inventing a wheel on is converting the text from one long
> line whether for a browser or email into something that is 80 columns
> wide automatically (or less depending on length of last word). I've
> seen Pretty Printers, but all involve the usual code guidelines with
> auto-indentation, etc. I'm hoping someone has dealt with a similar
> request from clients and won't mind sharing what approach they took to
> making work easier for the end user.
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: semi OT: converting strings to 80 column wide "pretty print"
      • From: Joe Little <email@hidden>
References: 
 >semi OT: converting strings to 80 column wide "pretty print" (From: Joe Little <email@hidden>)

  • Prev by Date: semi OT: converting strings to 80 column wide "pretty print"
  • Next by Date: Re: semi OT: converting strings to 80 column wide "pretty print"
  • Previous by thread: semi OT: converting strings to 80 column wide "pretty print"
  • Next by thread: Re: semi OT: converting strings to 80 column wide "pretty print"
  • Index(es):
    • Date
    • Thread