Tune up delimitMate

Tune up delimitMate to work seamlessly with xmledit.