• 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: Pretty printing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pretty printing?


  • Subject: Re: Pretty printing?
  • From: Denis Frolov <email@hidden>
  • Date: Mon, 2 Jul 2007 12:08:38 +0400

On Jul 2, 2007, at 1:38 AM, Lachlan Deck wrote:

On 01/07/2007, at 2:46 AM, Guido Neitzer wrote:

On 30.06.2007, at 04:50, Lachlan Deck wrote:

Sure, that's one option (and a good one) but I was actually more motivated by the presentation for our web-designer's eye. i.e., the component's to my eyes look nicely laid out and thus easy to follow, but when running the app there's lots of whitespace and unpredictable indentation.

The problem I'd have with that, is that you might get unpredictable rendering artifacts. E.g. if you format a component in ComponentEditor, a word with a hyperlink might get rendered like that (because the hyperlink is not necessarily a WOHyperlink):


<webobject name="Link">
	Word
</webobject>

which leads to unpredictable underlining for underlined links. The same might happen for things you have to do for Internet Explorer, like having a construct like that:

<li><a href="#">Word </a></li>

Note the intended whitespace in the link. This is necessary for IE not to mess up the height of the <li>. And there are plenty of other things that can go wrong.

So, I'd prefer that the HTML comes to the browser in the way I write it.

Sure. I'm just looking for something *I* can turn on as an option rather than something that effects everyone else.

Another idea (not something that you want but can be useful) is to have an option to compact the output so that it would look like a source of e.g. http://www.blogger.com/home


--
Denis


with regards,
--

Lachlan Deck

_______________________________________________
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



_______________________________________________ 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
References: 
 >Re: Pretty printing? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Webservices - Newbie
  • Next by Date: Batch faulting
  • Previous by thread: Re: Pretty printing?
  • Next by thread: Re: Pretty printing?
  • Index(es):
    • Date
    • Thread