https://bugs.kde.org/show_bug.cgi?id=422521
--- Comment #3 from Torsten Eichstädt <t.eichsta...@gmx.net> --- Hello Nibaldo, 1. Nested regions are hairy... ;) 2. I do not remember if I did this right in prolog.xml: it has user regions (%BEGIN...%END; '%' is Prolog's one-line comment starter), and the usual folding for blocks and multi-line comments. I do not have downloaded the KDE sources yet, so I can not have a look myself. Maybe you like to have a look? Chances are I figured s/th out when I wrote that. 3. Yes, I agree. A practical solution would be to start as you suggested. A really useful enhancement would be to switch activation based on which part of the '#if...#el...#endif' is folded. Then folding would reflect which parts of the code are active. THX & good luck -- You are receiving this mail because: You are watching all bug changes.