Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Rein in overly long|wide code segments via CSS

by ikegami (Pope)
on Apr 02, 2008 at 10:10 UTC ( #677928=note: print w/replies, xml ) Need Help??

in reply to Rein in overly long|wide code segments via CSS

Or uncheck "Code Wrapping Off" in Display Settings.
  • Comment on Re: Rein in overly long|wide code segments via CSS

Replies are listed 'Best First'.
Re^2: Rein in overly long|wide code segments via CSS
by parv (Priest) on Apr 02, 2008 at 10:29 UTC
    I already have that unchecked (and "Auto Code Wrapping" checked). These settings do not have any effect if there is no whitespace to break on.

      PM code wrapping only occurs if "Auto Code Wrapping" is unchecked. After the specified width, the line is broken and a red "+" is placed in the first column indicating it's a continuation. Clicking the "download" link provides the unwrapped code.

      1234567890123456789012345678901234567890123456789012345678901234567890 +123456789012345678901234567890
      looks like
      1234567890123456789012345678901234567890123456789012345678901234567890 +123456789012345678901234567890 [download]

      Anyway, just posting an alternative.

        Thanks much for clarifying just what "Auto Code Wrapping" option actually does (completely opposite of what I had thought).

        Some time later I discovered that code appears in a p when "A C W" is checked, else in pre which has its own issues. I will keep the "A C W" checked for now.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://677928]
[hippo]: Make it an option?
[Corion]: hippo: Yes, but I'm not sure that it's even worth the effort of implementing it at all...
[Corion]: You'll only ever need that option if you have a long-running query whose results are not cached by your DB already, and in those cases I presume that the programmer will want to maintain the temporary tables themselves - I wouldn't know when to drop ...
[Corion]: ... the temporary tables, and also don't have a good idea on how to create unique table names for them
[hippo]: OIC. In that case leave it out but invite feature requests and see if any of the users suggest it. :-)
[Corion]: Talking about this makes me realize that it's likely only a half useful idea. But it still would be convenient to have as an option...
[Corion]: hippo: Hmmm - yeah, I could document it and wait for code implementing that option to show up ;-D

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-02-23 15:36 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (347 votes). Check out past polls.