On Thu, 12 Nov 2026 16:22:04 GMT, Andy Goryachev <[email protected]> wrote:

>> The fixed case(s) have been moved to `testDoubleClickOnLeadingChar`. Not 
>> sure what you mean by "the pos=0 one".
>
> I was referring to the separate code path in 
> https://github.com/openjdk/jfx/pull/2363/changes#diff-8a97ba966d9ece7a16dd12bd722505f1fcddc93d44a3c15f7e97777c508c0563R663

That code path is already tested by testDoubleClickWithSpecialChars():

        execute(
                setText("Bug #123"),
                clickCharacter(0, 2, true)
        );
        if (isWindows()) {
            assertEquals("Bug ", control.getSelectedText());
        } else {
            assertEquals("Bug", control.getSelectedText());
        }

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2363#discussion_r4667352799

Reply via email to