RichTextArea.getTextPosition() should be able to give the answer.

-andy

From: openjfx-dev <openjfx-dev-r...@openjdk.org> on behalf of PavelTurk 
<pavelturk2...@gmail.com>
Date: Wednesday, May 7, 2025 at 08:52
To: openjfx-dev@openjdk.org <openjfx-dev@openjdk.org>
Subject: CodeArea: how to get the indexes of the first visible paragraph and 
the last one?
Could anyone say how to get the indexes of the first visible paragraph and the 
last visible paragraph.
If it currently possible. I am talking about indexes relative to all paragraphs 
in the code area.

Best regards, Pavel

Reply via email to