I'd be interested to know where folding editors first originated?
We have org-mode now of course.
My first encounter was 28 years ago now - December 1989 - an in-house editor called Teddy written by "Burkhard" that we had running on Vax - for Parasolid development in Cambridge, UK - think it dated from 1987 or earlier.