Add xml/html tag autoclosing behavior #827

Merged
merged 3 commits into from Jul 2, 2012

Projects

None yet

2 participants

@danyaPostfactum
Contributor

No description provided.

@nightwing nightwing merged commit 3a19dc5 into ajaxorg:master Jul 2, 2012
Member

cool!

Contributor

Is it possible to push autoappended ending tag to undo history separate from the ">" ?

Member

for that you need to call
two inserts and session.$syncInformUndoManager() in between
that will require some modification of the way behaviors work now

for brackets grouping both inserts is better, but i am not sure about xml since i haven't used it yet

Contributor

We definitly need undo entry for closing tag...

Member

agree, probably a good heuristic would be to add separate undo if transformed text is longer than two characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment