p5.js version
1.11.13
What is your operating system?
Chromebook (school-owned)
Web browser and version
chrome
Actual Behavior
Device: Lenovo 300e Yoga Chromebook Gen 4 (school-owned).
In the web editor, when the web editor's ctrl+F text find/replace tool is open (with some text to find in it), if the user switches text files within the project editor or starts typing in the text file, the user experiences a lag spike that renders the editor chrome tab unresponsive for prolonged periods (sometimes longer than a minute). This happens when my javascript files are several thousand lines of code long or longer.
The issue makes it difficult to use the p5js web editor.
Expected Behavior
The chrome tab should not freeze for a few minutes when I switch between long text files in the editor with the text find/replace tool open.
Steps to reproduce
Steps:
- open a project with more than one javascript files at least several thousand lines long.
- open the editor's built-in text find/replace tool and use it to find some text in one of the files.
- switch to the other long text file without closing the find/replace tool.
- You can also induce the spike by editing the long code file while the find/replace tool is still open.
My project (where I experience issues): https://editor.p5js.org/davidjramirez04/sketches/sIEIjaKEI
The lag spikes are attributed to the sheer size of the code files, especially when using the text finder.
Hyperkhukku III battle simulator (google it)
p5.js version
1.11.13
What is your operating system?
Chromebook (school-owned)
Web browser and version
chrome
Actual Behavior
Device: Lenovo 300e Yoga Chromebook Gen 4 (school-owned).
In the web editor, when the web editor's ctrl+F text find/replace tool is open (with some text to find in it), if the user switches text files within the project editor or starts typing in the text file, the user experiences a lag spike that renders the editor chrome tab unresponsive for prolonged periods (sometimes longer than a minute). This happens when my javascript files are several thousand lines of code long or longer.
The issue makes it difficult to use the p5js web editor.
Expected Behavior
The chrome tab should not freeze for a few minutes when I switch between long text files in the editor with the text find/replace tool open.
Steps to reproduce
Steps:
My project (where I experience issues): https://editor.p5js.org/davidjramirez04/sketches/sIEIjaKEI
The lag spikes are attributed to the sheer size of the code files, especially when using the text finder.
Hyperkhukku III battle simulator (google it)