add a way for disabling AutoScrollEditorIntoView

This commit is contained in:
nightwing 2013-02-06 01:06:59 +04:00
commit c6ba1957aa
3 changed files with 26 additions and 9 deletions

View file

@ -88,6 +88,7 @@ require("ace/commands/default_commands").commands.push({
exec: function(editor) {
dom.toggleCssClass(document.body, "fullScreen")
dom.toggleCssClass(editor.container, "fullScreen")
editor.setAutoScrollEditorIntoView()
editor.resize()
}
})