www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - New look for archives

reply Walter Bright <newshound digitalmars.com> writes:
This should be more readable, controllable with style sheets, and easier 
to cut/paste.

http://www.digitalmars.com/d/archives/digitalmars/D/extreme_curring_proposal_49865.html
Mar 08 2007
next sibling parent Lionello Lunesu <lio lunesu.remove.com> writes:
Walter Bright wrote:
 This should be more readable, controllable with style sheets, and easier 
 to cut/paste.
 
 http://www.digitalmars.com/d/archives/digitalmars/D/extreme_curring
proposal_49865.html 
 
Nice. And, while you're at it, fix the thing mentioned in that post :) 'std.bind' should point to http://digitalmars.com/d/phobos/std_bind.html L.
Mar 08 2007
prev sibling next sibling parent reply Johan Granberg <lijat.meREM OVE.gmail.com> writes:
Walter Bright wrote:

 This should be more readable, controllable with style sheets, and easier
 to cut/paste.
 
http://www.digitalmars.com/d/archives/digitalmars/D/extreme_curring_proposal_49865.html I usually don't use the webb interface so I can't compare but. The last post is not linewrapped in konqueror causing side scrolling.
Mar 08 2007
parent reply Walter Bright <newshound digitalmars.com> writes:
Johan Granberg wrote:
 The last post is not linewrapped in konqueror causing side scrolling.
The formatter doesn't wrap the lines, as it is usually preformatted.
Mar 08 2007
next sibling parent reply "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Fri, 09 Mar 2007 00:14:31 +0200, Walter Bright <newshound digitalmars.com>
wrote:

 Johan Granberg wrote:
 The last post is not linewrapped in konqueror causing side scrolling.
The formatter doesn't wrap the lines, as it is usually preformatted.
I'd still suggest making the text inside the <pre> blocks wrappable. You can do this either by using ordinary <div>s instead of <pre>s for the PostingBody, or adding the following CSS attribute to the PostingBody class in /d/style.css: white-space: normal; This will make user-agents rewrap text, eliminating horizontal scroll bars. -- Best regards, Vladimir mailto:thecybershadow gmail.com
Mar 08 2007
next sibling parent reply Walter Bright <newshound digitalmars.com> writes:
Vladimir Panteleev wrote:
 I'd still suggest making the text inside the <pre> blocks wrappable. You can
do this either by using ordinary <div>s instead of <pre>s for the PostingBody,
or adding the following CSS attribute to the PostingBody class in /d/style.css:
 
    white-space: normal;
 
 This will make user-agents rewrap text, eliminating horizontal scroll bars.
I tried it, but it wraps code, too, goofing it all up.
Mar 08 2007
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Walter Bright Wrote:

 Vladimir Panteleev wrote:
 I'd still suggest making the text inside the <pre> blocks 
 wrappable.  You can do this either by using ordinary <div>s 
 instead of <pre>s for the PostingBody, or adding the 
 following CSS attribute to the PostingBody class in 
 /d/style.css:
 
 white-space: normal;
 
 This will make user-agents rewrap text, eliminating 
 horizontal scroll bars.
I tried it, but it wraps code, too, goofing it all up.
Not to mention that: - it would destroy indentation as it did before, unless you explicitly convert leading spaces, multiple spaces and tabs to &nbsp; - it would create a mess of line breaks in strange places for some of us, who may be using lower-resolution displays or a large font. But a good course of action, at least IMO, would be handle format=flowed messages by setting word wrap and using explicit <br> for the hard line breaks. BTW I noticed a bug - it fails to replace & with &amp;. As well as being just one cause of the many validation errors, it's bound to alter what some people wrote, including here. Stewart.
Mar 10 2007
parent Walter Bright <newshound digitalmars.com> writes:
Stewart Gordon wrote:
 Walter Bright Wrote:
 I tried it, but it wraps code, too, goofing it all up.
Not to mention that: - it would destroy indentation as it did before, unless you explicitly convert leading spaces, multiple spaces and tabs to &nbsp; - it would create a mess of line breaks in strange places for some of us, who may be using lower-resolution displays or a large font. But a good course of action, at least IMO, would be handle format=flowed messages by setting word wrap and using explicit <br> for the hard line breaks.
I did it a simpler way - I just put the line wrapping in the converter program.
 BTW I noticed a bug - it fails to replace & with &amp;.  As well 
 as being just one cause of the many validation errors, it's 
 bound to alter what some people wrote, including here.
Oops.
Mar 12 2007
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Vladimir Panteleev Wrote:

<snip>
 I'd still suggest making the text inside the <pre> blocks 
 wrappable.  You can do this either by using ordinary <div>s 
 instead of <pre>s for the PostingBody, or adding the following 
 CSS attribute to the PostingBody class in /d/style.css:
 
     white-space: normal;
<snip> What would be the point of using <pre> at all if you're just going to cancel out its semantics with CSS? Stewart.
Mar 10 2007
prev sibling next sibling parent reply vanh <vanh dslextreme.com> writes:
Walter Bright wrote:
 Johan Granberg wrote:
 The last post is not linewrapped in konqueror causing side scrolling.
The formatter doesn't wrap the lines, as it is usually preformatted.
Would be nicer if the quote text is in different color or gray out. vtp
Mar 08 2007
parent reply Walter Bright <newshound digitalmars.com> writes:
vanh wrote:
 Would be nicer if the quote text is in different color or gray out.
It is in a slightly different color. I think greying it out would make it harder to read. If you look closely, you'll see that each nested quote has a slightly smaller font <g>.
Mar 08 2007
parent vanh <vanh dslextreme.com> writes:
Walter Bright wrote:
 vanh wrote:
 Would be nicer if the quote text is in different color or gray out.
It is in a slightly different color. I think greying it out would make it harder to read. If you look closely, you'll see that each nested quote has a slightly smaller font <g>.
Yes, but it's only 2 level how about couple more level that would cover ~ 80% :-) vtp
Mar 08 2007
prev sibling parent Derek Parnell <derek nomail.afraid.org> writes:
On Thu, 08 Mar 2007 14:14:31 -0800, Walter Bright wrote:

This is quite nice, Walter. 

 Johan Granberg wrote:
 The last post is not linewrapped in konqueror causing side scrolling.
The formatter doesn't wrap the lines, as it is usually preformatted.
The key word there is "usually", however there is still an awful lot of text that is not meant to be preformatted and is expected to be flowed. In general, I suspect you will happier readers if you flow the text rather than keep it the way it is. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Justice for David Hicks!" 9/03/2007 12:31:45 PM
Mar 08 2007
prev sibling parent Pragma <ericanderton yahoo.removeme.com> writes:
Walter Bright wrote:
 This should be more readable, controllable with style sheets, and easier 
 to cut/paste.
 
 http://www.digitalmars.com/d/archives/digitalmars/D/extreme_curring
proposal_49865.html 
 
Its like putting on glasses Walter, thank you! (DNG archives - now in HD) -- - EricAnderton at yahoo
Mar 08 2007