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

The Home and End key functionality is transposed #256

Closed
MarkHuntleyJames opened this issue Apr 29, 2023 · 0 comments · Fixed by #278
Closed

The Home and End key functionality is transposed #256

MarkHuntleyJames opened this issue Apr 29, 2023 · 0 comments · Fixed by #278
Assignees
Labels
bug Something isn't working

Comments

@MarkHuntleyJames
Copy link

MarkHuntleyJames commented Apr 29, 2023

When I use the Home key, the caret moves to the end of the line, and the End key moves it to the start of the line.

It looks as if the problem is in RichTextAreaSkin.java where the inputmap entries are set incorrectly:

entry( new KeyCodeCombination(HOME, SHIFT_ANY), e -> ACTION_CMD_FACTORY.caretMove(Direction.FORWARD, e.isShiftDown(), false, true))

and

entry( new KeyCodeCombination(END, SHIFT_ANY), e -> ACTION_CMD_FACTORY.caretMove(Direction.BACK, e.isShiftDown(), false, true))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants