Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SyntaxColoring.Format
Applies formatting rules to the formula text and returns styled text.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
- SyntaxColoring.AddTag
- SyntaxColoring.Clear
- SyntaxColoring.Enable
- SyntaxColoring.GetTag
- SyntaxColoring.GetTags
Example Databases
Blog Entries
- Formatting and error checking expressions in FileMaker
- MBS FileMaker Plugin, version 9.6pr1
- Define hot keys for functions in the FileMaker development
- MBS Filemaker Plugin, version 3.0pr10
Release notes
- Version 10.0
- Fixed problem with SyntaxColoring.Format function.
Created 18th August 2014, last changed 12nd December 2016
SyntaxColoring.FactoryDefaults - SyntaxColoring.GetAddFindbars
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins