Skip to content
Snippets Groups Projects
Commit 5ee26b8c authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[closebrackets addon] Give matching-brace deletion an origin

Issue #3733
parent f1156f52
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@
}
for (var i = ranges.length - 1; i >= 0; i--) {
var cur = ranges[i].head;
cm.replaceRange("", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1));
cm.replaceRange("", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1), "+delete");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment