Life In 19x19 http://www.lifein19x19.com/ |
|
Tag alignment http://www.lifein19x19.com/viewtopic.php?f=14&t=513 |
Page 1 of 1 |
Author: | Joaz Banbeck [ Wed May 12, 2010 9:03 am ] |
Post subject: | Tag alignment |
I'd like to see closing delimiters in the same column as opening delimiters. ( In this instance, I think that means at the beginning of a new line. ) This is ok: TAG_TYPE_1 misc stuff TAG_TYPE_2 more misc stuff which might be a really really really long sentence. CLOSE_TAG_2 other misc text more misc stuff which can be arbitrarily long but doesn't affect readability. CLOSE_TAG_1 This is a pain in the rear: TAG_TYPE_1 misc stuff TAG_TYPE_2 more misc stuff which happens to be very long so you don't see the closing tag. CLOSE_TAG_2 other misc text more misc stuff which also happens to be rather long. CLOSE_TAG_1 The two posts have the same logic, but the first is much easier to read. I can write a post in the first style, and when I edit it, the editor transposes it into the second style. ![]() |
Author: | Harleqin [ Wed May 12, 2010 9:46 am ] |
Post subject: | Re: Tag alignment |
I actually like this better: Code: TAG_TYPE_1 misc stuff TAG_TYPE_2 more misc stuff which happens to be very long so you don't see the closing tag. CLOSE_TAG_2 other misc text more misc stuff which also happens to be rather long. CLOSE_TAG_1 However, I think that the "source code" of the postings should simply not be changed, so that anyone can have it his way. (On a related but off topic note, I think that XML-style named close tags are completely redundant and superfluous, anyway. Just to be clear, the original design of HTML should have been like this: Code: <TAG_TYPE_1| misc stuff <TAG_TYPE_2| more misc stuff which happens to be very long so you don't see the closing tag.> other misc text more misc stuff which also happens to be rather long.> in my opinion.) |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |