nesting [color] within [php] tag. possible?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

nesting [color] within [php] tag. possible?

Post by jmut »

Can I nest color tag within php tag.
So I can somehow stress out something in a php snippet?
Maybe, some other alternative?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I think snipplets are generally small enough for us to figure out what you are refering to. But to answer your question, no there is not. We used to have line numbering but with all the forum mod upgrades it became too much of a proper to port all mods with the new forum versions.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

Jcart wrote:I think snipplets are generally small enough for us to figure out what you are refering to. But to answer your question, no there is not. We used to have line numbering but with all the forum mod upgrades it became too much of a proper to port all mods with the new forum versions.
I see.
Usually what I want is to stress on changes I have made when quoting someone else's snippet. (btw is this "else's" english correct? :))
But I guess I will use other means to achieve this.
Thanks
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Post a diff file... :lol:
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

jmut wrote: Usually what I want is to stress on changes I have made when quoting someone else's snippet. (btw is this "else's" english correct? :))

Code: Select all

echo "some code";
echo "some code I changed"; // This is the code I changed.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

usually done by

Code: Select all

echo "some code";
changed to

Code: Select all

echo "some code I changed";
:wink:
Post Reply