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.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

SyntaxColoring.Enable

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" )

Parameters

none

Result

Returns OK on success.

Description

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.

Examples

Enable or disable syntax coloring:

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

See also

Example Databases


SyntaxColoring.Disable   -   SyntaxColoring.Enabled

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins