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

feat: space as pagedown in read-only #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gerhardol
Copy link
Member

Similar shift-space as pageup, as in browsers etc.

Note: I would like to scroll to next file in diff lists with space too, but that need to be handled in the app.
Just as scroll, the app may override the input (similar for pagedown).

This after a few days using a laptop without a scrollwheel mouse. How can you work on a laptop?

Similar shift-space as pageup, as in browsers etc.
Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

laptop without a scrollwheel mouse. How can you work

move two fingers on the touchpad
(but whenever possible, I use a wireless mouse with a free-scrolling wheel)

@@ -36,6 +36,7 @@ public abstract class TextEditorControlBase : UserControl
/// action.
/// </summary>
protected Dictionary<Keys, IEditAction> editactions = new Dictionary<Keys, IEditAction>();
protected HashSet<Keys> readonlyactions = new HashSet<Keys>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
protected HashSet<Keys> readonlyactions = new HashSet<Keys>();
protected HashSet<Keys> readonlyonlyactions = new HashSet<Keys>();

or add a regarding xmldoc. Without a clarification here or in IsEditAction it is hard to grasp.

@RussKie
Copy link
Member

RussKie commented Feb 1, 2025

Similar shift-space as pageup, as in browsers etc.

TIL, but this combination appears to be only common in web browsers. I'm not sure it's really applicable to the app.

This after a few days using a laptop without a scrollwheel mouse. How can you work on a laptop?

I often work on laptops, and I can't say I missed the wheel... I'm used to trackpads and the gestures.

@gerhardol
Copy link
Member Author

I do not get the precision with the trackpad and it is function-key+PageDown.

Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this combination appears to be only common in web browsers

also in "more" and "less" as well as in email clients

@gerhardol
Copy link
Member Author

I plan to merge this in a couple of days.
I had planned something similar for the grid, but it is not working that well with some complexity, will skip for now

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

Successfully merging this pull request may close these issues.

3 participants