diff --git a/package.json b/package.json index a8a8a98..2a37e56 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test": "mocha test" }, "dependencies": { - "brace": "^0.4.1" + "brace": "0.7.0" }, "devDependencies": { "gulp": "^3.8.11", diff --git a/src/js/textmode.js b/src/js/textmode.js index 0b4de12..bd4751a 100644 --- a/src/js/textmode.js +++ b/src/js/textmode.js @@ -131,6 +131,7 @@ textmode.create = function (container, options) { this.content.appendChild(this.editorDom); var editor = _ace.edit(this.editorDom); + editor.$blockScrolling = Infinity; editor.setTheme(this.theme); editor.setShowPrintMargin(false); editor.setFontSize(13);