Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by parv (Priest)
on Apr 02, 2008 at 10:29 UTC ( #677931=note: print w/replies, xml ) Need Help??


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

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.
  • Comment on Re^2: Rein in overly long|wide code segments via CSS

Replies are listed 'Best First'.
Re^3: Rein in overly long|wide code segments via CSS
by ikegami (Pope) on Apr 02, 2008 at 19:49 UTC

    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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://677931]
help
Chatterbox?
[Petroza]: Hey there, I'm new here. I tried to post a question under ''Seekers of Perl Wisdom'' and when I tried to create it An Error appeared stating that I don't have permissions to post there. Do I need some sort of an Authorization?
[LanX]: no try again
[choroba]: Didn't you forget to add a title? Did you include links to the post?
[LanX]: choroba IIRC these errors are indicated
[1nickt]: Missing title suppresses the submit button, I think.
[1nickt]: Petroza to answer your question, no, no special permission is needed to post a question.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-10-17 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?