Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Space or Soft Hyphens (see code wrap)

by tye (Sage)
on Feb 17, 2003 at 06:02 UTC ( [id://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)

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://235897]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-18 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found