Integrated: 8267374: macOS: Option+Up/Down Arrow don't traverse to beginning/end of line in JTextArea
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Sep 5 10:52:52 UTC 2022
On Wed, 22 Jun 2022 03:28:17 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Unlike in native "Notes" editor where Option+Up/Down traverses to start/end of each line respectively,
> Java does not honour these key combination in editor.
>
> Added the key combination support by moving the caret to start/end of line and then doing caret up/down a line depending on if we are pressing UP or DOWN key.
This pull request has now been integrated.
Changeset: 955baa3c
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/955baa3c44805538df5f95ccc91d2d5a08c85b81
Stats: 397 lines in 8 files changed: 367 ins; 16 del; 14 mod
8267374: macOS: Option+Up/Down Arrow don't traverse to beginning/end of line in JTextArea
Reviewed-by: prr
-------------
PR: https://git.openjdk.org/jdk/pull/9230
More information about the client-libs-dev
mailing list