Code Folding - Conventions

Conventions

In order to support code folding, the text editor must provide a mechanism for identifying "folding points" within a text file. Some text editors provide this mechanism automatically, while others provide defaults that can either be overridden or augmented by the user.

Folding points are usually specified with one or more of the following conventions. Each of these conventions has its own distinct advantages and difficulties, and it is essentially up to the developers who create the text editor software to decide which conventions to follow. Text editors that provide support for multiple folding conventions typically allow the user to choose which is most appropriate for the file being edited.

Read more about this topic:  Code Folding

Famous quotes containing the word conventions:

    Languages exist by arbitrary institutions and conventions among peoples; words, as the dialecticians tell us, do not signify naturally, but at our pleasure.
    François Rabelais (1494–1553)

    Art, it seems to me, should simplify. That, indeed, is very nearly the whole of the higher artistic process; finding what conventions of form and what detail one can do without and yet preserve the spirit of the whole—so that all that one has suppressed and cut away is there to the reader’s consciousness as much as if it were in type on the page.
    Willa Cather (1873–1947)

    What people don’t realize is that intimacy has its conventions as well as ordinary social intercourse. There are three cardinal rules—don’t take somebody else’s boyfriend unless you’ve been specifically invited to do so, don’t take a drink without being asked, and keep a scrupulous accounting in financial matters.
    —W.H. (Wystan Hugh)