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

Component: SyntaxColoring

Control the syntax coloring in script and calculation editor.

Various IDE enhancements for FileMaker Pro Script Workspace for macOS.
Requires the plugin being loaded within the FileMaker Pro process.

Version macOS Windows Linux Server iOS SDK
3.0 / 14.1 ✅ Yes 🔶 1% 🔶 1% 🔶 2%, on macOS 🔶 1%

Item Details Server
SyntaxColoring.AddContextMenuCommand
Adds a new command for contextual menu.
Mac only
9.5
  ❌ Server
SyntaxColoring.AddTag
Adds a new color tag for script step, variable, function or formula coloring.
Mac only
3.0
  ❌ Server
SyntaxColoring.AutoCompleteFunctions.GetEnabled
Queries whether parameters for auto completed functions is enabled.
Mac only
12.1
  ❌ Server
SyntaxColoring.AutoCompleteFunctions.SetEnabled
Sets whether to auto complete MBS functions names.
Mac only
12.1
  ❌ Server
SyntaxColoring.AutoCompleteParameters.GetEnabled
Queries whether parameters for auto completed functions is enabled.
Mac only
12.1
  ❌ Server
SyntaxColoring.AutoCompleteParameters.SetEnabled
Sets whether to auto complete parameters for MBS functions names.
Mac only
12.1
  ❌ Server
SyntaxColoring.AutoCompleteVariables.GetEnabled
Queries whether auto complete is enabled.
Mac only
12.0
  ❌ Server
SyntaxColoring.AutoCompleteVariables.SetEnabled
Sets whether to do auto completion for calculation dialogs.
Mac only
12.0
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.Disable
Disables checking variable declarations in FileMaker Scripts.
Mac only
3.5
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.Enable
Enables checking variable declarations in FileMaker Scripts.
Mac only
3.5
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.Enabled
Queries if checking variable declarations are enabled or not.
Mac only
3.5
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.GetLimits
Queries limits for variable check.
Mac only
10.2
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.Notification.Disable
Disables notifications sent by variable check.
Mac only
7.1
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.Notification.Enable
Enables notifications sent by variable check.
Mac only
7.1
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.Notification.Enabled
Queries whether notifications are enabled.
Mac only
7.1
  ❌ Server
SyntaxColoring.CheckVariableDeclaration.SetLimits
Sets limits for variable check.
Mac only
10.2
  ❌ Server
SyntaxColoring.Clear
Clears all rules.
Mac only
3.0
  ❌ Server
SyntaxColoring.ClearContextMenuCommands
Clears list of menu commands.
Mac only
9.5
  ❌ Server
SyntaxColoring.ColorizeScript
Colorises a script text.
Mac only
12.1
  ✅ Server
SyntaxColoring.CommentLinks.GetEnabled
Whether comment links are enabled.
Mac only
12.3
  ❌ Server
SyntaxColoring.CommentLinks.SetEnabled
Sets whether comment links are enabled.
Mac only
12.3
  ❌ Server
SyntaxColoring.ContextualMenuEnabled.GetEnabled
Queries whether contextual menu commands from plugin are enabled.
Mac only
6.0
  ❌ Server
SyntaxColoring.ContextualMenuEnabled.SetEnabled
Enables contextual menu commands for tables.
Mac only
6.0
  ❌ Server
SyntaxColoring.CopyButton.GetEnabled
Queries whether copy button for script editor is enabled.
Mac only
5.2
  ❌ Server
SyntaxColoring.CopyButton.SetEnabled
Enables or disables copy script button.
Mac only
5.2
  ❌ Server
SyntaxColoring.Disable
Disables Syntax coloring in FileMaker Scripts.
Mac only
3.0
  ❌ Server
SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.GetEnabled
Queries whether we avoid opening manage database dialog with relationships.
Mac only
11.4
  ❌ Server
SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled
Sets whether we avoid opening manage database dialog with relationships.
Mac only
11.4
  ❌ Server
SyntaxColoring.Enable
Enables Syntax coloring in FileMaker Scripts.
Mac only
3.0
  ❌ Server
SyntaxColoring.Enabled
Queries if syntax coloring is enabled or not.
Mac only
3.0
  ❌ Server
SyntaxColoring.FactoryDefaults
Resets all rules to the default settings.
Mac only
3.0
  ❌ Server
SyntaxColoring.Format
Applies formatting rules to the formula text and returns styled text.
Mac only
3.0
  ❌ Server
SyntaxColoring.FormatCalculation   New in 14.1
Reformats the calculation text.
All
14.1
  ✅ Server
SyntaxColoring.GetAddFindbars
Queries whether the plugin adds find bars.
Mac only
8.0
  ❌ Server
SyntaxColoring.GetCodeFoldingEnabled   New in 14.0
Queries whether to enable code folding.
Mac only
14.0
  ❌ Server
SyntaxColoring.GetCustomFunctionToolsEnabled
Queries whether to show custom function tools.
Mac only
11.1
  ❌ Server
SyntaxColoring.GetDebuggerTooltipsEnabled
Queries whether debugger tooltips are enabled.
Mac only
11.1
  ❌ Server
SyntaxColoring.GetExportTooltipsEnabled
Queries whether export dialog tooltips are enabled.
Mac only
13.0
  ❌ Server
SyntaxColoring.GetFontName
Queries font name.
Mac only
10.1
  ❌ Server
SyntaxColoring.GetFontSize
Queries current font size for Script Workspace.
Mac only
10.1
  ❌ Server
SyntaxColoring.GetMinCalcFontSize
Queries configured minimum font size.
Mac only
7.2
  ❌ Server
SyntaxColoring.GetRelationGraphSearchBoxPreferredSize
Queries preferred size for the search box in relation graph window.
Mac only
6.3
  ❌ Server
SyntaxColoring.GetRememberColumnWidths
Queries whether to remember column widths.
Mac only
8.5
  ❌ Server
SyntaxColoring.GetScriptHighlightColor
Queries the current highlight color.
Mac only
5.4
  ❌ Server
SyntaxColoring.GetScriptIfColor
Queries the current script if block color.
Mac only
6.1
  ❌ Server
SyntaxColoring.GetScriptLoopColor
Queries the current script loop block color.
Mac only
6.1
  ❌ Server
SyntaxColoring.GetScriptSearchColor
Queries the current script search color.
Mac only
6.1
  ❌ Server
SyntaxColoring.GetShowFieldAndTableIDs
Queries whether to show field and table IDs.
Mac only
7.4
  ❌ Server
SyntaxColoring.GetShowLayoutIDs
Queries whether to show layout IDs.
Mac only
7.5
  ❌ Server
SyntaxColoring.GetShowScriptIDs
Queries whether to show script IDs.
Mac only
7.4
  ❌ Server
SyntaxColoring.GetShowValueListIDs
Queries whether to show value list IDs.
Mac only
12.0
  ❌ Server
SyntaxColoring.GetTag
Queries the color for a tag.
Mac only
3.0
  ❌ Server
SyntaxColoring.GetTags
Query list of all tag names defined so far.
Mac only
3.0
  ❌ Server
SyntaxColoring.GetUseBoldFont
Queries whether to use bold fonts.
Mac only
6.1
  ❌ Server
SyntaxColoring.HelpMenu.GetEnabled
Queries whether MBS Plugin menu entries show in help menu.
Mac only
10.4
  ❌ Server
SyntaxColoring.HelpMenu.SetEnabled
Sets whether MBS Plugin menu entries show in help menu.
Mac only
10.4
  ❌ Server
SyntaxColoring.LineNumbers.Disable   Deprecated
Disables line numbers in FileMaker Scripts.
Mac only
3.5
  ❌ Server
SyntaxColoring.LineNumbers.Enable   Deprecated
Enables line numbers in FileMaker Scripts.
Mac only
3.5
  ❌ Server
SyntaxColoring.LineNumbers.Enabled   Deprecated
Queries if line numbers are enabled or not.
Mac only
3.5
  ❌ Server
SyntaxColoring.LineNumbers.GetColor   Deprecated
Queries the current color for line numbers.
Mac only
3.5
  ❌ Server
SyntaxColoring.LineNumbers.SetColor   Deprecated
Sets the new color to use for line numbers.
Mac only
3.5
  ❌ Server
SyntaxColoring.ListContextMenuCommand
Lists all contextual menu commands.
Mac only
10.0
  ❌ Server
SyntaxColoring.RelationshipGraphSearchBox.GetEnabled
Queries whether relationship graph shows a search box.
Mac only
5.4
  ❌ Server
SyntaxColoring.RelationshipGraphSearchBox.SetEnabled
Enables or disables relation graph search box.
Mac only
5.4
  ❌ Server
SyntaxColoring.RemoveContextMenuCommand
Removes a context menu command.
Mac only
9.5
  ❌ Server
SyntaxColoring.RemoveTag
Removes a color tag.
Mac only
3.0
  ❌ Server
SyntaxColoring.ScriptGoToBox.GetEnabled
Queries whether script editor shows a goto box.
Mac only
5.4
  ❌ Server
SyntaxColoring.ScriptGoToBox.SetEnabled
Enables or disables script go to box.
Mac only
5.4
  ❌ Server
SyntaxColoring.ScriptIfLoopHighlight.GetEnabled
Queries enabled status for if/loop blocks highlighting.
Mac only
6.5
  ❌ Server
SyntaxColoring.ScriptIfLoopHighlight.SetEnabled
Sets whether to highlight if/loop blocks in script editor.
Mac only
6.5
  ❌ Server
SyntaxColoring.ScriptSearchBox.GetEnabled
Queries whether script editor shows a search box.
Mac only
5.4
  ❌ Server
SyntaxColoring.ScriptSearchBox.GetRegEx
Queries whether regular expressions are used in script search.
Mac only
13.1
  ❌ Server
SyntaxColoring.ScriptSearchBox.GetText
Queries current search text.
Mac only
7.5
  ❌ Server
SyntaxColoring.ScriptSearchBox.SetEnabled
Enables or disables script search box.
Mac only
5.4
  ❌ Server
SyntaxColoring.ScriptSearchBox.SetRegEx
Sets whether script search uses regular expressions.
Mac only
13.1
  ❌ Server
SyntaxColoring.ScriptSearchBox.SetText
Sets the search text and runs a search in current script.
Mac only
7.5
  ❌ Server
SyntaxColoring.SetAddFindbars
Sets whether the plugin adds find bars.
Mac only
8.0
  ❌ Server
SyntaxColoring.SetCodeFoldingEnabled   New in 14.0
Sets whether to enable code folding.
Mac only
14.0
  ❌ Server
SyntaxColoring.SetCustomFunctionToolsEnabled
Sets whether to show custom function and calculation tools.
Mac only
11.1
  ❌ Server
SyntaxColoring.SetDebuggerTooltipsEnabled
Sets whether debugger tooltips are enabled.
Mac only
11.1
  ❌ Server
SyntaxColoring.SetExportTooltipsEnabled
Sets whether export dialog tooltips are enabled.
Mac only
13.0
  ❌ Server
SyntaxColoring.SetFontName
Sets the font name.
Mac only
10.1
  ❌ Server
SyntaxColoring.SetFontSize
Sets current font size for Script Workspace.
Mac only
10.1
  ❌ Server
SyntaxColoring.SetMinCalcFontSize
Sets the minimum text size to apply for calculations.
Mac only
7.2
  ❌ Server
SyntaxColoring.SetRelationGraphSearchBoxPreferredSize
Sets the preferred size for the relation graph.
Mac only
6.3
  ❌ Server
SyntaxColoring.SetRememberColumnWidths
Whether to remember column widths.
Mac only
8.5
  ❌ Server
SyntaxColoring.SetScriptHighlightColor
Sets the highlight color.
Mac only
5.4
  ❌ Server
SyntaxColoring.SetScriptIfColor
Sets the highlight color for if block in a script.
Mac only
6.1
  ❌ Server
SyntaxColoring.SetScriptLoopColor
Sets the highlight color for if block in a script.
Mac only
6.1
  ❌ Server
SyntaxColoring.SetScriptSearchColor
Sets the search color.
Mac only
6.1
  ❌ Server
SyntaxColoring.SetShowFieldAndTableIDs
Set whether to show field and table IDs.
Mac only
7.4
  ❌ Server
SyntaxColoring.SetShowLayoutIDs
Sets whether layout IDs are enabled.
Mac only
7.5
  ❌ Server
SyntaxColoring.SetShowScriptIDs
Set whether to show script IDs.
Mac only
7.4
  ❌ Server
SyntaxColoring.SetShowValueListIDs
Sets whether value list IDs are enabled.
Mac only
12.0
  ❌ Server
SyntaxColoring.SetUseBoldFont
Sets whether to use bold fonts.
Mac only
6.1
  ❌ Server
SyntaxColoring.ShowBracketPositions.GetEnabled
Queries whether plugin highlights brackets.
Mac only
10.5
  ❌ Server
SyntaxColoring.ShowBracketPositions.SetEnabled
Sets whether plugin highlights brackets.
Mac only
10.5
  ❌ Server
SyntaxColoring.ShowTextPositions.GetEnabled
Queries whether text positions are enabled.
Mac only
9.5
  ❌ Server
SyntaxColoring.ShowTextPositions.SetEnabled
Sets whether to show text positions.
Mac only
9.5
  ❌ Server
SyntaxColoring.ZoomButton.GetEnabled
Queries whether zoom controls are enabled.
Mac only
7.2
  ❌ Server
SyntaxColoring.ZoomButton.SetEnabled
Sets enabled state for zoom controls.
Mac only
7.2
  ❌ Server

105 functions shown.

These functions are free to use.

Release notes

Blog Entries

FileMaker Magazin

Example Databases