[jfx20] RFR: 8293587: Fix mistakes in FX API docs [v3]

Andy Goryachev angorya at openjdk.org
Tue Feb 7 19:38:06 UTC 2023


On Tue, 7 Feb 2023 17:11:50 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java line 62:
>> 
>>> 60: 
>>> 61: /**
>>> 62:  * A special layout designed to lay out rich text.
>> 
>> What's "special" about it? :-)
>> Suggestion:
>> 
>>  * A layout designed to lay out rich text.
>
> Maybe it's special in the sense that it's specialized towards displaying text, unlike other `Pane`s that are multi-purpose for all nodes. "designed to" already points to that. Maybe "A specialized layout for rich text."?

A specialized layout... +1

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

PR: https://git.openjdk.org/jfx/pull/1025


More information about the openjfx-dev mailing list