RichTextArea: does CodeArea support code folding?

PavelTurk pavelturk2000 at gmail.com
Tue Apr 29 19:11:46 UTC 2025


RTFX CodeArea has methods for code folding:

codeArea.foldParagraphs(int, int)
codeArea.unfoldParagraphs(int);

However, I can't find something with 'fold' in https://download.java.net/java/early_access/javafx25/docs/api/jfx.incubator.richtext/jfx/incubator/scene/control/richtext/CodeArea.html

Could anyone say what methods are used for folding (if JFX CodeArea supports it).

Best regards, Pavel


More information about the openjfx-dev mailing list