This version is out of date, covering development from v9.0.0 to v9.3.0. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

Prototype: Code

Code

Broadly the setting same as the HTML prototype except that $IsTemplate remains as the default false. Use for things like storing long actions such as deeply nested if() statements, or for command line code for use with runCommand().

For notes using this prototype and which with be exported, e.g. CSS code, boilerplate text, the prototype-inherited default for $HTMLDontExport (as seen below) should be reversed locally in the code note itself.

This prototype's non-default customisations other than $IsPrototype, $Name, and intrinsic map features (height, width, etc.) are listed below.

$Badge: "design".

$Color: "lightest black".

$OnAdd: $NeverComposite=true;

$HTMLDontExport: true (ticked).

$HTMLFirstParagraphEnd: "" (empty string).

$HTMLFirstParagraphStart: "" (empty string).

$HTMLIndentedParagraphEnd: "" (empty string).

$HTMLIndentedParagraphStart: "" (empty string).

$HTMLParagraphEnd: "" (empty string).

$HTMLParagraphStart: "" (empty string).

$NoSpelling: true (ticked).

$ParagraphSpacing: 0.

$SmartQuotes: false (un-ticked).

$Tabs: "0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;" (only 8 tabs pre-v9.3.0).

$TextFont: "AndaleMono".

$Ziplinks: false (un-ticked).

From v9.3.0, newly added Code prototype notes now offer a dozen tab stops; existing prototypes are not affected.