[thelist] modified <pre></pre> blocks

.jeff jeff at members.evolt.org
Wed Jul 17 16:14:00 CDT 2002


andy,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Hardacker, Andrew
>
> <snip>
> unfortunately your css suggestions don't keep the line
> numbers from coming across when copying the code sample.
> that's the current showstopper.
> </snip>
>
> Arrgh, I just highlighted the text, thinking only the
> highlighted text would be copied.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yeah, nn6/moz is really sneaky that way.  it doesn't highlight the numbers,
but *blammo*, there they are when you paste.  grrrrr.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Although, on consideration, it makes more sense for the
> browser to copy the numbers, which are a legitimate part
> of the list. In fact, they're what gives it that
> ineffable list-ness. IE is probably wrong not to include
> them in cut-n-paste.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

aside from this issue, i much prefer that ie does *not* include list bullets
(whether they be shapes, letters, numbers, etc.) when pasting as text.
however, when pasting as richtext, it includes them which is fine.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Anyway, FWIW, here's another version that doesn't use
> IE-specific DOM methods (which probably don't work on
> IE/Mac) and preserves the code indentation.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

thanks for still trying to fix this issue, but as long as line numbers get
copied in nn6/moz it'll be a no go as far as i'm concerned.

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/





More information about the thelist mailing list