On Tue, 1 Sep 2026 22:01:57 GMT, Andy Goryachev <[email protected]> wrote:

>> Fixes broken navigation introduced in 
>> [JDK-8370902](https://bugs.openjdk.org/browse/JDK-8370902) with non-zero 
>> paragraph spacing (above, below, line spacing).
>> 
>> Updated the Rich Editor Demo to allow setting paragraph line spacing in 
>> addition to space above/below (right click -> Paragraph).
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Andy Goryachev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   d.length

modules/jfx.incubator.richtext/src/main/java/com/sun/jfx/incubator/scene/control/richtext/RangeInfo.java
 line 89:

> 87:         if (lines != null) {
> 88:             int ix = lines.length;
> 89:             if (ix > 0) {

I missed this one  before, but it should be `ix > 1`

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2280#discussion_r3908938124

Reply via email to