RFR: 8267374: (macos) Left Option+Up/Down arrow dont traverse to beginning/end of line in textarea [v5]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Jun 27 04:11:44 UTC 2022
On Mon, 27 Jun 2022 03:24:37 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java line 650:
>>
>>> 648: * upward one line otherwise.
>>> 649: * @see #getActions
>>> 650: */
>>
>> What ? We are adding new public API to solve this ?
>> Why is that necessary ?
>
> Not public API..we are adding new editor "actions" if we need to keep previous fix..Without the previous fix JDK-8151136 , it works and we will not need to add these new actions.
Actually, we do need the up/down new "action" even without JDK-8151136 fix...it was never working before..
We dont have action that will move the caret to begin/end of line and move up/down one line (if it's already at the begin/end).
It was either the former or the latter..
-------------
PR: https://git.openjdk.org/jdk/pull/9230
More information about the client-libs-dev
mailing list