Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
go ahead... be a heretic
 
PerlMonks  

Re: Space or Soft Hyphens (see code wrap)

by tye (Cardinal)
on Feb 17, 2003 at 06:02 UTC ( #235897=note: print w/ replies, xml ) Need Help??


in reply to Space or Soft Hyphens

We already use soft hyphens for wrapping code if you select "Auto code wrapping" in user settings. No, it doesn't work in all browsers.

What your test code doesn't check is whether the soft hyphens actually allow stuff to wrap. That would be the show stopper for using them always. If you view this node directly, then you can see my test for that aspect of things.

0123456789­012345678a­0123456789­012345678a­z123456789­012345678a­z123456789­012345678a­z123456789­012345678a­z123456789­012345678a­z123456789­012345678a­z123456789­012345678a­z123456789­012345678a­

It would make sense to have a user setting for using soft hyphens instead of spaces for the chatterbox nodelet. Not really a big concern for me, personally, though.

Also note that using soft hyphens will result in more cases of people being confused when they cut'n'paste from chatter and don't get what they saw.

                - tye


Comment on Re: Space or Soft Hyphens (see code wrap)
Re: Re: Space or Soft Hyphens (see code wrap)
by BigLug (Chaplain) on Feb 17, 2003 at 06:07 UTC
    OK, you've made sense ... seems my browser not only doesn't implement the W3C's recommendation but thinks of a soft-hyphen as a non-breaking hyphen! Which makes it even worse than useless. Please ignore my suggestion :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://235897]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-04-18 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (464 votes), past polls