RFR: 8267374: (macos) Left Option+Up/Down arrow dont traverse to beginning/end of line in textarea [v3]

Sergey Bylokhov serb at openjdk.org
Thu Jun 23 19:24:51 UTC 2022


On Thu, 23 Jun 2022 07:40:29 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.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revert JDK-8151136 for Right Option Key

[JDK-8151136](https://bugs.openjdk.org/browse/JDK-8151136) was about the handling of the right alt key? It had the instructions for windows and linux, and that fix added the case for macOS. I do not think it should be reverted. Probably the shortcuts should take care about that right-option key.

-------------

PR: https://git.openjdk.org/jdk/pull/9230



More information about the client-libs-dev mailing list