On Mon, 10 Nov 2025 20:52:47 GMT, Andy Goryachev <[email protected]> wrote:

>> Did explain it in the description.  Avoid extra allocation + most of the 
>> clients have special logic for paragraphs that contain 0 segments.
>
> In theory, `List<StyledSegment> getSegments()` can be added as a convenience 
> method which returns an unmodifiable copy.

Do you think it is worth filing a follow-on enhancement for this convenience 
method?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1966#discussion_r2641517431

Reply via email to