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.4 | ✅ 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.GetGlobals New in 14.3 Queries the list of known global variables. | Mac only 14.3 |
❌ Server |
SyntaxColoring.AutoCompleteVariables.GetLocals New in 14.4 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 New in 14.3 Sets initial list of known global variables. | Mac only 14.3 |
❌ Server |
SyntaxColoring.AutoCompleteVariables.SetLocals New in 14.4 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.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 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.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.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 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 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.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 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 |
109 functions shown.
These functions are free to use.
Release notes
- 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.
- Version 14.0
- Added SyntaxColoring.GetCodeFoldingEnabled and SyntaxColoring.SetCodeFoldingEnabled function.
- Improved SyntaxColoring.FactoryDefaults function to reset both dark and light colors.
- Version 13.2
- Fixed SyntaxColoring.SetFontSize to allow passing value zero to disable font size change.
- Version 13.1
- Added SyntaxColoring.ScriptSearchBox.GetRegEx and SyntaxColoring.ScriptSearchBox.SetRegEx functions.
- Version 13.0
- Added SyntaxColoring.GetExportTooltipsEnabled and SyntaxColoring.SetExportTooltipsEnabled functions.
- Deprecated SyntaxColoring.LineNumbers.Disable, SyntaxColoring.LineNumbers.Enable, SyntaxColoring.LineNumbers.Enabled, SyntaxColoring.LineNumbers.GetColor and SyntaxColoring.LineNumbers.SetColor functions.
- Version 12.5
- Fixed a problem in SyntaxColoring.Format function.
- Version 12.4
- Fixed a bug in SyntaxColoring.Format raising exception if a color is not defined.
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