Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SyntaxColoring.Format

Applies formatting rules to the formula text and returns styled text.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 3.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.Format"; Text; Copy )   More

Parameters

Parameter Description Example
Text The formula text to format. "5+6+cos($test)"
Copy Pass 1 to copy result to clipboard.
This preserves links and all formatting.

Result

Returns formatted text.

Description

Applies formatting rules to the formula text and returns styled text.

Examples

Format a line:

$r = MBS( "SyntaxColoring.Format"; "5+6+cos($test)" )

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 12nd December 2016


SyntaxColoring.FactoryDefaults - SyntaxColoring.FormatCalculation