Tag alignment
Posted: Wed May 12, 2010 9:03 am
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.
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.