Szerkesztés

Megosztás a következőn keresztül:


FoldingRules interface

Describes folding rules for a language.

Properties

markers

Region markers used by the language.

offSide

Used by the indentation based strategy to decide wheter empty lines belong to the previous or the next block. A language adheres to the off-side rule if blocks in that language are expressed by their indentation. See wikipedia for more information. If not set, false is used and empty lines belong to the previous block.

Property Details

markers

Region markers used by the language.

markers?: FoldingMarkers

Property Value

offSide

Used by the indentation based strategy to decide wheter empty lines belong to the previous or the next block. A language adheres to the off-side rule if blocks in that language are expressed by their indentation. See wikipedia for more information. If not set, false is used and empty lines belong to the previous block.

offSide?: boolean

Property Value

boolean