Document editors have the ability to collapse or expand some part of a
file content they are viewing (as an example). However, the few editors
that already provide such a feature only provide it for a particular file
type or using reserved language words. However, this system (as an
example) makes the Collapse/Expand feature available to any file, while
it accords strictly to the piece of text the user is writing. Thus, the
Collapse/Expand feature might be bound and transferable with any
paragraph of the file. A user is able to choose the delimiters of such a
collapse action according to its own style and the document type.