Update maxLines to 100 for all ace editors, this auto sizes the editors

This commit is contained in:
Peter Stockings
2023-12-18 22:39:21 +11:00
parent 4b0c356cda
commit 17f98195a2
3 changed files with 4 additions and 5 deletions

View File

@@ -75,7 +75,7 @@
<script>
var editor = ace.edit("editor");
editor.setOptions({
maxLines: editor.session.getLength()
maxLines: 100
});
editor.setTheme("ace/theme/github_dark");
editor.session.setMode("ace/mode/javascript");