On Wed, 14 Oct 2026 21:02:28 GMT, Andy Goryachev <[email protected]> wrote:

>> Enables importing of images from the clipboard into the RichTextModel by 
>> adding a data format handler for the DataFormat.IMAGE mime type.
>> 
>> This change includes new utility added by 
>> [JDK-8390345](https://bugs.openjdk.org/browse/JDK-8390345).
>> 
>> Note: the banana slug image is a public domain added with author's 
>> permission [0].
>> 
>> ## References
>> 
>> [0] https://en.wikipedia.org/wiki/Banana_slug
>> 
>> 
>> 
>> ---------
>> - [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:
> 
>   review comments

thank you for the comments!  changes:
- moved the order of events clarification to `Marker::textPosProperty`
- fixed the `insertSegment` regression, added tests to cover all scenarios
- added exception handling in `StyledTextModel.fire*` to be similar to 
`TextInputControl` (thanks for the pointer!), added a test

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

PR Comment: https://git.openjdk.org/jfx/pull/2224#issuecomment-6178440954

Reply via email to