Colors in CODE brackets now

For questions, special requests, or any complaints concerning the Descent BB.

Moderators: Krom, Lothar, Richard Cranium, KoolBear

Post Reply
User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

Colors in CODE brackets now

Post by KoolBear »

I kind like this one myself ...

Code: Select all

					
	$text = [color=yellow]preg_replace[/color](\"/\\!color=(\\#[0-9A-F]{6}|[a-z]+)~$uid\\!/si\" , [color=red]$text[/color] ;
	$text = str_replace(\"!/color~$uid!\", $text);
fyrephlie
DBB Benefactor
DBB Benefactor
Posts: 956
Joined: Tue Nov 15, 2005 12:49 am

Post by fyrephlie »

which is great but as kilarin pointed out... it's not fixed width....

also... the select button doesnt select.
Post Reply