"Use Selection for Find" doesn't fill Find field on first use #1002
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
The IDE's Edit menu contains a Use Selection for Find item.
🐛 The first time this is used after opening an IDE window, the "Find" field is not filled with the selected text.
To reproduce
🐛 The text is not pre-filled in the "Find" field.
🙂 The text is pre-filled in the "Find" field.
Expected behavior
"Find" field is always filled with the selected text after selecting Edit > Use Selection for Find.
Arduino IDE version
Original report
2.0.0-rc6-snapshot-b407d0a
Last verified with
9a6a457
Operating system
Windows, Ubuntu
Operating system version
Additional context
I recommend evaluating whether "Use Selection for Find" has any value. If not, it would be better to just remove it rather than spending time on getting it working correctly. Its functionality appears to be identical to Edit > Find Next, except that Find Next works correctly.
I don't see such a thing in the related applications (e.g., Arduino IDE 1.x, Theia Blueprint, VS Code). The small number of search results I get indicate maybe it is used in some macOS applications?
Issue checklist
The text was updated successfully, but these errors were encountered: