Quote:
Originally Posted by KevinH
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.
|
I like the default behavior, because it exactly matches the behavior of Scintilla-based editors such as Notepad++.
I also have no problems with the default highlight color.
Quote:
Originally Posted by KevinH
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 '>'.
|
I honestly don't see any advantage in implementing this approach and would rather you keep the current implementation.
BTW, I have another idea: since the tag highlighting code must keep track of opening and closing tags, how about also adding a keyboard shortcut that'll delete both opening and closing tags, but keeps the text enclosed by the tags?
This would make it easy to get rid of superfluous
<span> or
<div> tags.