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