[bug 837112] Fix crash id linking
[bug 837515] Don't complete closing tags and curly brackets in editor