[Feature Request]: Support keyboard navigation in text widgets
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 476
- Avg merge
- 18h 32m
- Merged PRs (30d)
- 216
Description
### What would you like to happen?
There are a number of places were it would be nice to be able to navigate and edit with keyboard shortcuts.
* CTRL/CMD-LEFT : navigate to the previous word
* CTRL/CMD-RIGHT: navigate to the next word
* CTRL-X: cut the current line to clipboard
* CTRL-C: copy what's selected or the current line to clipboard
Interestingly enough, some multi-line text widgets already support part of this (word navigation), like the SQL Styled text windows. In other places, like the VFS file "save" dialog, it's not possible to navigate words with CTRL-LEFT/RIGHT. The "Save As..." dialog on the other hand supports it. In certain places in Hop Web word navigation is supported, in a lot of places it isn't, depending on which JS editor we're using.
All in all this needs a thorough code review, code standardization and cleanup.
### Issue Priority
Priority: 3
### Issue Component
Component: Hop Gui
Contributor guide
Research direction
No files or tests are named. Start by reviewing the text widgets, SQL Styled text windows, VFS file "Save As..." dialog, and Hop Web editors mentioned in the issue, then compare their existing keyboard behavior. Done means consistent word navigation and cut/copy behavior across the relevant widgets, with the implementations standardized and cleaned up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100