Page 1 of 1

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

Posted: Tue Jul 04, 2006 1:26 am
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?

Posted: Tue Jul 04, 2006 2:24 am
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.

Posted: Tue Jul 04, 2006 2:31 am
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

Posted: Tue Jul 04, 2006 2:39 am
by Maugrim_The_Reaper
Post a diff file... :lol:

Posted: Tue Jul 04, 2006 7:45 am
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.

Posted: Tue Jul 04, 2006 9:57 am
by John Cartwright
usually done by

Code: Select all

echo "some code";
changed to

Code: Select all

echo "some code I changed";
:wink: