diff --git a/lib/ice-coder.js b/lib/ice-coder.js index faf8ad1..9b05aac 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -330,6 +330,7 @@ var ICEcoder = { endPos.ch = cM.getLine(endPos.line).indexOf("")+top.ICEcoder.htmlTagArray[nestPos].length+3; // Set the selection or escape out of not selecting !top.ICEcoder.dontSelect ? cM.setSelection(startPos,endPos) : top.ICEcoder.dontSelect = false; + cM.scrollIntoView(startPos); } } },