ajaxorg/ace — pull request #1453 by sadasant (2013-05-28 18:40:15+00:00)
Title: Proposal for html completion #1189

I saw there was an issue about html tag completion, suggesting a
behavior like zencoding, and as I've been working with ace for a project
with an unusual xml schema, I thought I could collaborate integrating
some html completion (and the backbone for future xml completions) with
the current code structure.

Basically, I'm adding an insertion behavior for XML that wraps the
current completion with the characters and attributes specified in an
object literal very like the keywords variable in the modes' highlights.

When you start typing a tag, like `

It also works if you type ``
it will automatically generate the full _a_ line, as follows:

It will always put the cursor within the tags (after `>` and before
`