Hi All,
Okay we have now implemented a version of this in Sigil master. It will highlight both the open and proper closing tag if your cursor is anywhere inside the opening or closing tag.
But we need some input from people who make use of this feature.
Since an opening tag can have many attributes that can go across line boundaries, highlighting the open and closing pair anytime while inside the opening / closing tag seems to be a bit distracting to me.
It can cover the complete highlighted line and is visually noisy.
I can understand that highlighting the pair may help but I would like to limit the places the cursor can be to highlight the open/ close pair.
<tag attribute1 attribute2 ...>
blah blah blah blah
</tag>
Instead of doing the highlighting anytime the cursor is anyplace in the tag, I would much prefer limiting this extra highlighting to when the cursor is directly on a '<' or '>'.
So something like |<tag> or </tag|> where the | represents that cursor in the editor is when I would like to enable highlighting but any other location in the tag, no highlighting.
That way anybody who wants to see the highlighting can move the cursor to just the start of the tag or just to the end of any tag to see the tag open/close highlighting thus quickly enabling them to check for tag open/close pairs without having to deal with the flashing as much.
What to people think?
|