-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
area:existing-pluginA bug/feature for an existing plugin in the plugins folder of code-input.A bug/feature for an existing plugin in the plugins folder of code-input.area:testsExtra required/suggested tests for code-input and/or its plugins, in the tests folder.Extra required/suggested tests for code-input and/or its plugins, in the tests folder.good first issueGood for newcomersGood for newcomerspriority:high
Description
Typing some text to find and replace or a line number to go to can cause slowness now and make the next keystroke not be displayed for a while, so the processing to find and highlight text or find line length should not be carried out for every fast keystroke. Debounce it like this or with the requestAnimationFrame method used in code-input.js core.
This will probably require added timeouts for the findandreplace/gotoline tests.
Metadata
Metadata
Assignees
Labels
area:existing-pluginA bug/feature for an existing plugin in the plugins folder of code-input.A bug/feature for an existing plugin in the plugins folder of code-input.area:testsExtra required/suggested tests for code-input and/or its plugins, in the tests folder.Extra required/suggested tests for code-input and/or its plugins, in the tests folder.good first issueGood for newcomersGood for newcomerspriority:high