Last year sometime I requested a "wrap [code] tags" button in the quick reply which after some resistance was kindly added. I'm glad it happened because I've used it a great deal ever since.
The purpose of this thread to discuss (not request) a few finer point along that topic. The reason I say discuss is because I know I'm about to open a sore can worms and understand that somethings simply have good reasons for their existence or lack of it.
What we have available are [code] and [php] tags for wrapping code samples. Both have their benefits and drawbacks. The php tag, while being a little misleading as a heading to its relative code sample (more on that in a sec), has wonderfully colorized syntax but has certain limitations when there is a desire to combine it with other text tags like [bold] or [italic].
Sometimes while answering a code question, I prefer to put the code I fixed in bold so as to better inform the person what changed.
The Code tag on the other hand, allows for this mixed styling but alas lacks colorized syntax.
My purpose is not so much to suggest making either of those accommodate the other as it is to hearken back to a day when we had [as] as an option. If I remember correctly it provided both solutions.
I think its safe to say flashkit isn't going anywhere and that the [as] tag is sorely missed. My goal here is to understand why it no longer exists and what we as a community might do to get it back.
As an aside, the static width of a code block (640px) doesn't seem all that appropriate. I don't see why it cant run the width of the post. Just sayin'
if any of you want to test it out, the tag is named highlight, and you must add = Actionscript inside the opening tag, at least if you're using long reply. For quick reply I added a regex replace which will add it for you if you had no language parameter at all
Yeah I guess if there's a potential risk of mangling code that uses array items or object evaluation it's better to turn it off. Otherwise, bolding makes it easy for the newbs to understand what changed.