Here is how this feature works. Suppose you have the following text:
Code:
Friends List
Alex alex@example.com
Bart bart@example.com
Chad chad@example.com
So you highlight
Friends List, and press the command key/button for the feature. A small window opens, and you type
<h2> and press Enter. The automatic result is then:
Code:
<h2>Friends List</h2>
Alex alex@example.com
Bart bart@example.com
Chad chad@example.com
As you can see, the feature automatically terminates the tag at the of the selected text. You can then move down and surround each line with a <tr> and then each name and address with a <td>. I know there are already easy ways to make tables, but this is just an example. You can also use it to surround selected text with quotes, parenthesis, brackets, etc.
I don't know how hard that would be to implement, but I think it would be useful.