CodeBuilder.disable

Disables automatic tabbing and/or new line insertion.

Notes: For every call to disable, a call to enable is required to re-enable the functionality.

For example, if 2 calls to disable are made to disable tabbing, then 2 calls to enable for tabbing must be made before tabbing is re-enabled.

class CodeBuilder
@safe @nogc nothrow pure
void
disable
(
UseTabs disableTabs = Yes.tabs
,
UseNewLines disableLines = Yes.newLines
)

Parameters

disableTabs UseTabs

If Yes.tabs then automatic tabbing will be disabled.

disableLines UseNewLines

If Yes.newLines then automatic new line insertion will be disabled.

See Also

CodeBuilder.enable

Meta