Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

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


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

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.


Comment on Re^3: Rein in overly long|wide code segments via CSS
Select or Download Code
Replies are listed 'Best First'.
Re^4: Rein in overly long|wide code segments via CSS
by parv (Priest) on Apr 02, 2008 at 22:45 UTC

    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://678032]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2015-07-28 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls