wpdir
wpdir copied to clipboard
File Viewer Large Files
There are a range of issues which appear to be caused by or directly linked to large (often minified files), when viewing them on the front-end.
Part of it is loading such large files into the CodeMirror editor, but there appear to be issues with the line number being wrong too.
There are two parts to resolving this, ideally the editor needs to be able to handle large files without hanging or bad performance, this might involve moving away from CodeMirror. The second is that the experience of viewing minified files needs to improve- ideally by marking the position of the match too so the user can be taken to the match and to resolve any of the intermittent issues like wrong line numbers.