Rich Text Support
Pedro Duque Vieira
pedro.duquevieira at gmail.com
Wed Oct 3 12:50:16 UTC 2018
Yeah, I just mentioned it to clear up the conversation. I knew you'd
probably know about it.
I've never actually implemented or tried to implement a full blown rich
text editor, so probably not the best person to discuss this but I did try
some simple stuff so here's my 2 cents:
I think to start, probably a class like Swing's FontMetrics would be good
to have? Before Java 9 there was one but it was private implementation.
Just to have the basic API that would allow to build rich text editing
support more easily, sorted out..
This is also, generally, needed for calculating how to lay out text.
Cheers,
On Wed, Oct 3, 2018 at 1:30 PM Dirk Lemmermann <dlemmermann at gmail.com>
wrote:
> Of course …. and that works fine. I really should have only mentioned
> „editing“. Although it would also be nice to have a label with rich text
> support as part of the core JavaFX API. I developed a rich text label for
> one of my projects and might soon contribute it to ControlsFX or create an
> independent project on GitHub.
>
> Dirk
>
> Am 03.10.2018 um 14:21 schrieb Pedro Duque Vieira <
> pedro.duquevieira at gmail.com>:
>
> Hi,
>
> Have you guys tried JavaFX TextFlow class and such for just the display
> part of rich text?
>
> Cheers,
>
>
>
> On Wed, Oct 3, 2018 at 12:55 PM Dirk Lemmermann <dlemmermann at gmail.com>
> wrote:
>
>> (I am creating a new thread in order to avoid interfering with the
>> „priorities“ thread).
>>
>> I started looking at RichTextFX a while ago and must admit that its API
>> was too academic for me to fully comprehend. It definitely was not
>> following in the footsteps of the rest of the JavaFX API.
>>
>> Dirk
>>
>>
>
> --
> Pedro Duque Vieira - https://www.pixelduke.com
>
>
>
--
Pedro Duque Vieira - https://www.pixelduke.com
More information about the openjfx-discuss
mailing list