On Mon, 30 Sep 2024 20:57:30 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> changed this and similar methods to throw an exception
>
> This is still pending, since the docs haven't been updated. Is an exception 
> really what you want in this case? This method is the target of a function 
> tag: We definitely don't want to produce an exception when the user presses 
> the DELETE key; should calling the method directly throw an exception? If so, 
> you will need logic to detect when it is called from an input event vs 
> directly. Whatever we decide should apply to a null model as well. Either a 
> null model and a read-only model should both throw an exception or neither 
> should.

there is no exception thrown in `backspace()` method - are you looking at the 
latest version?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1524#discussion_r1783050922

Reply via email to