Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add up and down keys to table cell navigation #2523

Closed
instancezero opened this issue Jun 6, 2024 · 6 comments
Closed

Add up and down keys to table cell navigation #2523

instancezero opened this issue Jun 6, 2024 · 6 comments

Comments

@instancezero
Copy link

Is your feature request related to a problem? Please describe.
I've been through the key mappings and can't find this, my apologies if I missed something...
The up and down keys let you navigate as expected inside a cell, eventually putting the cursor at the begging or end of the content, but from there subsequent keystrokes get a "invalid" tone. This requires frequent mouse inputs to navigate through the table.
Describe the solution you'd like
Up should move to the cell above when the cursor is at the beginning of the cell's content, down should move to the cell below when the cursor is at the end.
Additionally, if there is no row above/below, the cursor should move to the content above/below the table.

@giuspen
Copy link
Owner

giuspen commented Jun 8, 2024

Currently the navigation using the four arrows works only in the so called lightweight version of the table (see table property).
In the so called heavy version only Tab and Shift+Tab work to move the focus between cells.

@instancezero
Copy link
Author

This is a restatement of the problem but I don't see any insight into what might happen in the future. Do you plan to bring this functionality to the "heavyweight" table at some point, or will this functionality be restricted to the "lightweight" version?

@giuspen
Copy link
Owner

giuspen commented Jun 9, 2024

What you ask make sense and I would like to support it, I just need to investigate the effort

giuspen added a commit that referenced this issue Jun 9, 2024
… pressed on first line/down pressed on the last line (#2523)
giuspen added a commit that referenced this issue Jun 11, 2024
…left pressed before first character/right pressed after the last character (#2523)
@giuspen
Copy link
Owner

giuspen commented Jun 11, 2024

Please @instancezero try https://www.giuspen.net/software/cherrytree_1.1.2.0+37_win64_portable.7z and report if it works as expected.
If you are on Linux I'll generate an appimage shortly, link will be available at https://www.giuspen.net/cherrytree/#testing

@instancezero
Copy link
Author

Installed and tested. Works exactly as I'd expect. Thanks!

OT PS: have you considered Liberapay for donations to the project?

@giuspen
Copy link
Owner

giuspen commented Jun 12, 2024

Cool thanks for testing @instancezero , it turned out to be simpler than originally thought so I just did it straight away.
I'm not familiar with liberapay, I'll investigate when I'll have some time.

@giuspen giuspen closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants