fix: add a workaround to fix window freezing when viewing a large file #992
parent
9eefaddd9b
commit
241201657c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue