diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index bd313f52..08c8d01b 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -3538,7 +3538,8 @@ function OUTER(gscope) function doIndentOutdent(isOut) { - if (!(rep.selStart && rep.selEnd)) + if (!(rep.selStart && rep.selEnd) || + ((rep.selStart[0] == rep.selEnd[0]) && (rep.selStart[1] == rep.selEnd[1]) && rep.selEnd[1] > 1)) { return false; }