This is the main working part of a note and where is body copy ($Text) is edited and displayed. The text is now RTF and supports RTF styles. The text area has its own discrete Find and Replace features including highlighting of Find results. A ruler can be displayed for the text area.
Though only a subset of the full range of RTF styling is supported for HTML export, fully styled RTF text export is supported.
A number of text area functions are controlled by/stored as attributes. It is important to note that all text is styled. Thus attribute values controlling the text font and size have no further effect once the text area is first used. However, the Format -> Style submenu has option for resetting selected text back to the attribute stored values.
Other text selection methods:
- Select the adjacent line: click in the left margin of the text pane.
- Select the adjacent paragraph: double-click in the left margin of the text pane.
- Extend the existing selection: shift-clicking and shift-double-clicking extends the current selection to encompass the adjacent line or paragraph.
Styled Text (v7.5.3+)
Several string operations can now be applied to styled text from $Text, or to text destined for $Text, in order to modify the (rich) text styling. Note that while any string may have its style set, this styling only has an effect when viewed in $Text.
When an action assigns the $Text of one note to another, Tinderbox preserves styling.
$Text = $Text("/configuration/example")
When the text of two notes are appended, Tinderbox preserves styling.
$Text = $Text(/a)+$Text(/b)
A string may be emboldened or italicised:
$Text=$DisplayName.bold
$Text=$MyString.italic
The font size of a string may be changed:
$Text=$MyString.fontSize(36)
The following operators also respect style information:
- String.replace()
- String.substr()
- String.paragraphs()