On Sep 25, 2006, at 13:23, Bryan R Harris wrote:
Under my suggestion, an HTML doc might have a status of "+2 tr, -1
td" to
indicate that you have 2 unclosed tr tags, and 1 unopened td tag (e.g.
"</td>" without a "<td>").
Ah, okay. I think there would also need to be a way to use the status
message to navigate to that </td> instead of having to visually
search for it. Any ideas there?
A related feature that might tie together your suggestion and mine is
to visually highlight unbalanced structures right in the document.
Since they'd already be getting identified in real-time, it makes
sense to show unpaired structures visually primarily to make them
glaringly obvious but also so that we need not look to the status
area unless we require the additional context information that it
provides (like the full upward tree).
To see how all this ties together, using your example: the two <tr>
tags and the </td> in the content area get soft-red backgrounds
applied to them, a global balance area of the status bar shows
something like what you indicate above, and yet another status area
shows my status string when you click into an appropriate area.
Now, I'm not sure we want to add two things to the status bar just to
deal with balance. Perhaps mine would only be accessible by hovering
over an unbalanced tag or by clicking on your status information
(perhaps the latter as a toggle). Obviously, there are a lot of UI
issues to be worked out here, but I think the functional ideas are good.
Regards,
Bob
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>