fix: add a workaround to fix window freezing when viewing a large file #992

This commit is contained in:
Oleg Lobanov
2020-06-18 19:21:02 +02:00
parent 9eefaddd9b
commit 241201657c

View File

@@ -33,7 +33,7 @@ export default {
const fileContent = this.req.content || '';
this.editor = ace.edit('editor', {
maxLines: Infinity,
maxLines: 80,
minLines: 20,
value: fileContent,
showPrintMargin: false,