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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Enables Syntax coloring in FileMaker Scripts.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SyntaxColoring 3.0 Yes No No No No
MBS( "SyntaxColoring.Enable" )   More




Returns OK on success.


Enables Syntax coloring in FileMaker Scripts.
Our color syntax code is very careful. It registers a callback to change the color just before FileMaker draws a text in the table in script editor. If future FileMaker versions, change something there, it's most likely the plugin will simply stop coloring and FileMaker works as before.
Settings are saved in preferences files and you can use different settings in different FileMaker versions.
Works with FileMaker 11 or newer.
Syntax color can only be enabled in FileMaker Pro, not in server or runtime versions.
See also SyntaxColoring.Disable.


Enable or disable syntax coloring:

If (Enable)
      Set Variable [$r; MBS( "SyntaxColoring.Enable" )]
      Set Variable [$r; MBS( "SyntaxColoring.Disable" )]
end if

See also

Example Databases

Created 18th August 2014, last changed 28th April 2016

SyntaxColoring.Disable   -   SyntaxColoring.Enabled

Feedback: Report problem or ask question.

MBS Xojo Plugins