Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-09-29 21:51:19

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,391
Website GitHub Mastodon

Re: r1842: important Textile improvements

zem wrote:

pre handling should be better now. There’s also a new pre. block modifier.

Thanks, works as intended. Good enough for me ;-)

Offline

#14 2006-09-30 06:46:27

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: r1842: important Textile improvements

See r1861. “smart quotes” handling has changed significantly – the old behaviour was really quite sloppy.

I’ve tested standard English usage and everything seems fine. No doubt there’ll be other issues though – please post examples in a new thread for r1861.


Alex

Offline

#15 2006-09-30 07:10:12

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: r1842: important Textile improvements

Offline

#16 2006-09-30 18:49:54

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: r1842: important Textile improvements

When you use <code>bc..</code>, if you have a long line, it continues past the end of the content area and overflows into the sidebar. I guess that’s normal behavior?

Offline

#17 2006-09-30 18:55:41

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,391
Website GitHub Mastodon

Re: r1842: important Textile improvements

That’s what bc.. is for, yes. Embracing a block of content with a HTML pre element (what bc basically does) instructs the browser not to mess with my line breaks. So, if I haven’t entered any line breaks, it just expands east for ever.

Last edited by wet (2006-09-30 18:56:00)

Offline

#18 2006-09-30 19:21:06

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: r1842: important Textile improvements

Sweet! I can finally have tabs in pre blocks! :D

hcgtv - you can add this to your css: pre { overflow: auto; }@ (and for IE, you’ll probably need a width of 98% or something).

Offline

#19 2006-09-30 20:09:18

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: r1842: important Textile improvements

wet, jm – thanks for clarifying the code blocks.

Offline

#20 2006-10-22 16:13:17

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: r1842: important Textile improvements

jm,

I tried the overflow:auto on a 4.0.4 site, I ended up needing it, and what I get is a horizontal scroll under the pre block. Is this what it’s supposed to do?

Edit: Yeah, I guess that’s the way it’s supposed to work. Does anybody have some CSS examples for displaying code in their articles?

Last edited by hcgtv (2006-10-22 16:41:47)

Offline

#21 2006-10-23 02:54:12

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,595
Website

Re: r1842: important Textile improvements

hcgtv wrote:

Edit: Yeah, I guess that’s the way it’s supposed to work. Does anybody have some CSS examples for displaying code in their articles?

have a look at this sample:“http://dev.l-c-n.com/_temp/code.php”.

(resize window if needed).

Some things won’t work in iExploder (::before is not supported). Some fine tuning is need for iExploder, else it shows both a vertical and a horizontal scrollbar. And for iExploder 6, you need to specify a width, else it expands the box to fit the content.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#22 2006-10-23 04:22:35

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: r1842: important Textile improvements

phiw13 wrote:

have a look at this sample:“http://dev.l-c-n.com/_temp/code.php”.

Thanks, will have a look at it.

As for iExploder, I don’t really care much about it at this point.

Offline

Board footer

Powered by FluxBB