Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

SyntaxColoring.Format

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

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

Parameters

Parameter Description Example value
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

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


SyntaxColoring.FactoryDefaults   -   SyntaxColoring.GetAddFindbars

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos