-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Milestone
Description
monaco-editor npm version: 0.8.1
Browser:chrome
OS: windows
Using splice for each lines in _doApplyEdits line 630
this._lines.splice(newLineNumber - 1, 0, new ModelLine(newLineNumber, op.lines[j], tabSize));
Could you use just do one insert with all lines because when i insert more than 5000 lines (a collapse/expand "button like" with decoration) if there is text, but no lines, after the insert point it take less than 1 second but when there's even an empty line after the insert point it took more than 5 seconds ?
I change it myself and even with a lot of lines after the insert point, it's less than 1 seconde to do the insert.
Reactions are currently unavailable