| 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 / 16.1 | ✅ Yes | 🔶 4% | 🔶 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.AutoCompleteCustomFunctions.GetEnabled Queries whether auto complete is activated for custom functions window. | Mac only 15.0 |
❌ Server |
| SyntaxColoring.AutoCompleteCustomFunctions.SetEnabled Sets whether auto complete is activated for custom functions window. | Mac only 15.0 |
❌ Server |
| SyntaxColoring.AutoCompleteCustomFunctionsParameters.GetEnabled Queries whether auto complete is activated for custom functions window with parameters. | Mac only 15.1 |
❌ Server |
| SyntaxColoring.AutoCompleteCustomFunctionsParameters.SetEnabled Sets whether auto complete is activated for custom functions window with parameters. | Mac only 15.1 |
❌ 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.GetGlobals Queries the list of known global variables. | Mac only 14.3 |
❌ Server |
| SyntaxColoring.AutoCompleteVariables.GetLocals Queries the initial list of local variables. | Mac only 14.4 |
❌ Server |
| SyntaxColoring.AutoCompleteVariables.SetEnabled Sets whether to do auto completion for calculation dialogs. | Mac only 12.0 |
❌ Server |
| SyntaxColoring.AutoCompleteVariables.SetGlobals Sets initial list of known global variables. | Mac only 14.3 |
❌ Server |
| SyntaxColoring.AutoCompleteVariables.SetLocals Sets the initial list of local variables. | Mac only 14.4 |
❌ 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.ClipboardConverter.GetEnabled Queries whether the clipboard converter is enabled. | Mac/Win 15.4 |
❌ Server |
| SyntaxColoring.ClipboardConverter.SetEnabled Sets whether the clipboard converter is enabled. | Mac/Win 15.4 |
❌ 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.DebuggerScrolling.GetEnabled Queries whether we improve scrolling in debugger. | Mac only 15.3 |
❌ Server |
| SyntaxColoring.DebuggerScrolling.SetEnabled Sets whether we improve debugger scrolling. | Mac only 15.3 |
❌ 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 Reformats the calculation text. | All 14.1 |
✅ Server |
| SyntaxColoring.GetAddFindbars Queries whether the plugin adds find bars. | Mac only 8.0 |
❌ Server |
| SyntaxColoring.GetCodeFoldingEnabled 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.GetDataViewerFormatButtonEnabled Queries current setting. | Mac only 15.5 |
❌ 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.GetFormatAddSpaceBeforeSemicolon New in 16.1 Queries whether calculation formatting should add space before semicolons. | Mac only 16.1 |
❌ Server |
| SyntaxColoring.GetFormulasWithDashLinks Queries whether to generate links for dash. | Mac only 11.1 |
❌ Server |
| SyntaxColoring.GetFormulasWithLinks Queries whether to include links in formula. | Mac only 10.0 |
❌ 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 Deprecated 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.ScriptSearchButton.GetEnabled New in 16.0 Query whether we should show the search button to search all scripts. | Mac/Win 16.0 |
❌ Server |
| SyntaxColoring.ScriptSearchButton.SetEnabled New in 16.0 Sets whether we should show the search button to search all scripts. | Mac/Win 16.0 |
❌ Server |
| SyntaxColoring.SetAddFindbars Sets whether the plugin adds find bars. | Mac only 8.0 |
❌ Server |
| SyntaxColoring.SetCodeFoldingEnabled 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.SetDataViewerFormatButtonEnabled Sets whether to show format button in the value window in data viewer. | Mac only 15.5 |
❌ 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.SetFormatAddSpaceBeforeSemicolon New in 16.1 Sets whether calculation formatting should add space before semicolons. | Mac only 16.1 |
❌ Server |
| SyntaxColoring.SetFormulasWithDashLinks Sets whether formulas should link to dash. | Mac only 11.1 |
❌ Server |
| SyntaxColoring.SetFormulasWithLinks Sets whether formulas should include links. | Mac only 10.0 |
❌ 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 Deprecated 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.SortMenuEntries.GetEnabled Queries whether menu entries get sorted. | Mac only 15.1 |
❌ Server |
| SyntaxColoring.SortMenuEntries.SetEnabled Enables or disables menu sorting. | Mac only 15.1 |
❌ Server |
| SyntaxColoring.SortStyleMenu.GetEnabled Queries whether to sort style menu in contextual menu. | Mac only 15.4 |
❌ Server |
| SyntaxColoring.SortStyleMenu.SetEnabled Whether to sort style menu in contextual menu. | Mac only 15.4 |
❌ Server |
| SyntaxColoring.TurnErrorsBlue.GetEnabled Queries whether turning errors blue is enabled. | Mac only 15.1 |
❌ Server |
| SyntaxColoring.TurnErrorsBlue.SetEnabled Sets whether turning errors blue is enabled. | Mac only 15.1 |
❌ 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 |
129 functions shown.
These functions are free to use.
Release notes
- Version 16.0
- Added SyntaxColoring.ScriptSearchButton.GetEnabled and SyntaxColoring.ScriptSearchButton.SetEnabled functions.
- Changed SyntaxColoring.ClipboardConverter.GetEnabled and SyntaxColoring.ClipboardConverter.SetEnabled to work on Windows.
- Version 15.5
- Added SyntaxColoring.GetDataViewerFormatButtonEnabled and SyntaxColoring.SetDataViewerFormatButtonEnabled function. Pass 2 to do formatting automatically.
- Version 15.4
- Added SyntaxColoring.ClipboardConverter.SetEnabled and SyntaxColoring.ClipboardConverter.GetEnabled functions.
- Added SyntaxColoring.SortStyleMenu.SetEnabled and SyntaxColoring.SortStyleMenu.GetEnabled functions.
- Version 15.3
- Added SyntaxColoring.DebuggerScrolling.GetEnabled and SyntaxColoring.DebuggerScrolling.SetEnabled functions.
- Version 15.1
- Added AvailabilityExpression parameter to SyntaxColoring.AddContextMenuCommand function.
- Added SyntaxColoring.AutoCompleteCustomFunctionsParameters.GetEnabled and SyntaxColoring.AutoCompleteCustomFunctionsParameters.SetEnabled functions.
- Added SyntaxColoring.SortMenuEntries.GetEnabled and SyntaxColoring.SortMenuEntries.SetEnabled functions.
- Added SyntaxColoring.TurnErrorsBlue.SetEnabled and SyntaxColoring.TurnErrorsBlue.GetEnabled functions to help colorblind people to read errors in debugger.
- Fixed memory issue for SyntaxColoring.AddContextMenuCommand causing crashes.
- Improved SyntaxColoring.AddContextMenuCommand to add entries to the menu, if you have a spelling suggestion.
- Improved SyntaxColoring.AddContextMenuCommand to better detect layout vs. browse mode.
- Version 15.0
- Added SyntaxColoring.AutoCompleteCustomFunctions.GetEnabled and SyntaxColoring.AutoCompleteCustomFunctions.SetEnabled functions.
- Improved SyntaxColoring.AddContextMenuCommand function to allow them to show in browse and layout mode.
- Version 14.4
- Added SyntaxColoring.AutoCompleteVariables.SetLocals and SyntaxColoring.AutoCompleteVariables.GetLocals functions.
- Fixed an issue in SyntaxColoring.AutoCompleteVariables.SetGlobals function.
- Version 14.3
- Version 14.1
- Added SyntaxColoring.FormatCalculation function.
Blog Entries
- Syntax Coloring History
- Goodies 41: Preferences Dialog
- Goodies 1: Script Coloring
- Free Tier for MBS FileMaker Plugin
- Custom Functions stored in a database
- MBS FileMaker Plugin 11.0 - More than 6400 Functions In One Plugin
- Dark Mode in FileMaker
- MBS FileMaker Plugin 10.1 - More than 6100 Functions In One Plugin
- Layout IDs in FileMaker with MBS Plugin
- Goodies video from FMValencia conference
FileMaker Magazin
Example Databases