Closed
Description
Describe the problem
When wanting to select all the code in the current tab, if using the CMD+A shortcut it is correctly selected,
while using the menu item will only select 10 lines and it's not really clear where the starting point is, because the selection begin/end are offset from the last cursor position
To reproduce
- open a Sketch
- place your cursor in the code window
- from the application menu Edit > Select All
- unselect by clicking in an unselected part of the text
- only 10 lines will be selected
- use the shortcut CMD+A (CTRL+A on Windows)
- the entire code will be selected
Expected behavior
The entire code in the current tab should be selected and ready to be acted upon
Arduino IDE version
2.0.0-rc6
Operating system
macOS
Operating system version
12.3
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details