add a way for disabling AutoScrollEditorIntoView
This commit is contained in:
parent
bd6dda68f0
commit
c6ba1957aa
3 changed files with 26 additions and 9 deletions
|
|
@ -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()
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue