-
Notifications
You must be signed in to change notification settings - Fork 191
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
Home and End keys while editing do not move the cursor but rather the view #19
Comments
What platform are you on? Any special tools you have installed? Because for me (on Windows), home does beginning/end of line just fine. |
I'm on linux manjaro (based on arch linux) with xfce4, more specifically, I installed it from this iso: Do you think that some system settings might be affecting it? I'm thinking maybe some system-wise key-mappings (currently I don't know much about where to look them up and change them) such as pressing Shift+numkey7 when numlock is off, yielding "7" instead of doing Shift+Home like it does when numlock is on. (there doesn't seem to be a gui option to fix this as it was in linux mint 15 olivia mate, like half a year ago) EDIT: I should mention that just doing numkey7 while numlock is off, does do Home key (and I also have a specific Home key on this laptop which was the one I was using in original post), but when numlock is on numkey7 does "7" EDIT2: I'm thinking that since it reacts differently in two different situations in treesheets(works correctly in one instance), maybe it's not my system-wide key-mappings (which I haven't messed with btw) |
Ok, think I fixed it, see my last commit. |
Sweet, thanks! Confirmed to work. |
Hi.
Moving the editing cursor in a cell is a little tricky. I was expecting Home and End keys to have the same behaviour and Ctrl+Home and Ctrl+End do. But Home and End keys affect the view instead.
I tried to work around this by pressing Shift+Home or Shift+End which doesn't move the view but does select the text, at which point if I accidentally type a character the text is gone(replaced by that character) and there is no Undo/Redo for the lost text (but this is another issue #18 ). However, if I press Left arrow(for after Shift+Home) or Right arrow(for after Shift+End) it works: deselects the text and the cursor is where it should be.
And looks like there is a difference between
Edit->Text Editing->Start of line of text(Home)
which works correctly, and actually pressing Home key(view runs at top of page).Edit->Text Editing->Start of line of text(Home)
and
Edit->Text Editing->Start of text(Ctrl+Home)
work exactly the same when selecting them from the menu, or using Ctrl+Home. But not when using just Home key.
Same for End and Ctrl+End.
However, it works correctly in one instance: when I'm zoomed in(Ctrl+MouseWheel in) to
25)
part of the tutorial (in Advanced operations) such thatAdvanced operations
is the immediate but unseen(in view) parent and editing the cell containing "header" - this works.But zooming one more step out then Home and End keys affect the view instead of the editing cursor.
Thanks.
PS: using AUR version: treesheets-git (Jun 11)
EDIT: local/treesheets-git r70.7fd3390-1
The text was updated successfully, but these errors were encountered: