Tinderbox v10 Icon

StyledString.italic()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Formatting  [other Formatting operators]

 v9.0.0

 Baseline

 As at baseline


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses


StyledString.italic()

StyledString.italic

The function sets the referenced string's (RTF) styled text to italic.

$Text = $Text + "This is " + "some".italic + " text".plain; 

adds "this is some text" to the end of $Text. The '.plain' command reasserts no style is to be applied.

Note that $Text is currently the only attribute capable of holding styled text. String attributes and action code variables, i.e. var, cannot store styled text. If passed styled text the latter will store the unstyled version of the text being passed. See a more detailed explanation.

String operators respecting StyledString operators

String.paragraphs(), String.replace() and String.substr().