Region Pragma

This pragma is used for grouping several lines into one block in a text editor. The block can be named. Region pragmas can also be nested.

Code with region pragma: Expanded and collapsed views

../_images/63d34a3e32c53598c0a8640e00d7de5d

The pragma can be used in the ST editor and all declaration editors. Syntax highlighting can be customized in the options.

See also