Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
Statistic
FMM
Blog
Component: SyntaxColoring
Control the syntax coloring in script and calculation editor.
Various Mac IDE enhancements for FileMaker script workspace.
Item | Details |
---|---|
SyntaxColoring.AddContextMenuCommand Adds a new command for contextual menu. | Mac only 9.5 |
SyntaxColoring.AddTag Adds a new color tag for script step, variable, function or formula coloring. | Mac only 3.0 |
SyntaxColoring.CheckVariableDeclaration.Disable Disables checking variable declarations in FileMaker Scripts. | Mac only 3.5 |
SyntaxColoring.CheckVariableDeclaration.Enable Enables checking variable declarations in FileMaker Scripts. | Mac only 3.5 |
SyntaxColoring.CheckVariableDeclaration.Enabled Queries if checking variable declarations are enabled or not. | Mac only 3.5 |
SyntaxColoring.CheckVariableDeclaration.GetLimits Queries limits for variable check. | Mac only 10.2 |
SyntaxColoring.CheckVariableDeclaration.Notification.Disable Disables notifications sent by variable check. | Mac only 7.1 |
SyntaxColoring.CheckVariableDeclaration.Notification.Enable Enables notifications sent by variable check. | Mac only 7.1 |
SyntaxColoring.CheckVariableDeclaration.Notification.Enabled Queries whether notifications are enabled. | Mac only 7.1 |
SyntaxColoring.CheckVariableDeclaration.SetLimits Sets limits for variable check. | Mac only 10.2 |
SyntaxColoring.Clear Clears all rules. | Mac only 3.0 |
SyntaxColoring.ClearContextMenuCommands Clears list of menu commands. | Mac only 9.5 |
SyntaxColoring.ContextualMenuEnabled.GetEnabled Queries whether contextual menu commands from plugin are enabled. | Mac only 6.0 |
SyntaxColoring.ContextualMenuEnabled.SetEnabled Enables contextual menu commands for tables. | Mac only 6.0 |
SyntaxColoring.CopyButton.GetEnabled Queries whether copy button for script editor is enabled. | Mac only 5.2 |
SyntaxColoring.CopyButton.SetEnabled Enables or disables copy script button. | Mac only 5.2 |
SyntaxColoring.Disable Disables Syntax coloring in FileMaker Scripts. | Mac only 3.0 |
SyntaxColoring.Enable Enables Syntax coloring in FileMaker Scripts. | Mac only 3.0 |
SyntaxColoring.Enabled Queries if syntax coloring is enabled or not. | Mac only 3.0 |
SyntaxColoring.FactoryDefaults Resets all rules to the default settings. | Mac only 3.0 |
SyntaxColoring.Format Applies formatting rules to the formula text and returns styled text. | Mac only 3.0 |
SyntaxColoring.GetAddFindbars Queries whether the plugin adds find bars. | Mac only 8.0 |
SyntaxColoring.GetBlackFieldPicker Queries whether field picker should be black. | Mac only 7.4 |
SyntaxColoring.GetFontName Queries font name. | Mac only 10.1 |
SyntaxColoring.GetFontSize Queries current font size for script workspace. | Mac only 10.1 |
SyntaxColoring.GetFormulasWithLinks Queries whether to include links in formula. | Mac only 10.0 |
SyntaxColoring.GetMinCalcFontSize Queries configured minimum font size. | Mac only 7.2 |
SyntaxColoring.GetRelationGraphSearchBoxPreferredSize Queries preferred size for the search box in relation graph window. | Mac only 6.3 |
SyntaxColoring.GetRememberColumnWidths Queries whether to remember column widths. | Mac only 8.5 |
SyntaxColoring.GetResizeFieldPicker Queries whether field picker should be resizable. | Mac only 7.4 |
SyntaxColoring.GetScriptHighlightColor Queries the current highlight color. | Mac only 5.4 |
SyntaxColoring.GetScriptIfColor Queries the current script if block color. | Mac only 6.1 |
SyntaxColoring.GetScriptLoopColor Queries the current script loop block color. | Mac only 6.1 |
SyntaxColoring.GetScriptSearchColor Queries the current script search color. | Mac only 6.1 |
SyntaxColoring.GetShowFieldAndTableIDs Queries whether to show field and table IDs. | Mac only 7.4 |
SyntaxColoring.GetShowLayoutIDs Queries whether to show layout IDs. | Mac only 7.5 |
SyntaxColoring.GetShowScriptIDs Queries whether to show script IDs. | Mac only 7.4 |
SyntaxColoring.GetTag Queries the color for a tag. | Mac only 3.0 |
SyntaxColoring.GetTags Query list of all tag names defined so far. | Mac only 3.0 |
SyntaxColoring.GetUseBoldFont Queries whether to use bold fonts. | Mac only 6.1 |
SyntaxColoring.HelpMenu.GetEnabled Queries whether MBS Plugin menu entries show in help menu. | Mac only 10.4 |
SyntaxColoring.HelpMenu.SetEnabled Sets whether MBS Plugin menu entries show in help menu. | Mac only 10.4 |
SyntaxColoring.LineNumbers.Disable Disables line numbers in FileMaker Scripts. | Mac only 3.5 |
SyntaxColoring.LineNumbers.Enable Enables line numbers in FileMaker Scripts. | Mac only 3.5 |
SyntaxColoring.LineNumbers.Enabled Queries if line numbers are enabled or not. | Mac only 3.5 |
SyntaxColoring.LineNumbers.GetColor Queries the current color for line numbers. | Mac only 3.5 |
SyntaxColoring.LineNumbers.SetColor Sets the new color to use for line numbers. | Mac only 3.5 |
SyntaxColoring.ListContextMenuCommand Lists all contextual menu commands. | Mac only 10.0 |
SyntaxColoring.RelationshipGraphSearchBox.GetEnabled Queries whether relationship graph shows a search box. | Mac only 5.4 |
SyntaxColoring.RelationshipGraphSearchBox.SetEnabled Enables or disables relation graph search box. | Mac only 5.4 |
SyntaxColoring.RemoveContextMenuCommand Removes a context menu command. | Mac only 9.5 |
SyntaxColoring.RemoveTag Removes a color tag. | Mac only 3.0 |
SyntaxColoring.ScriptGoToBox.GetEnabled Queries whether script editor shows a goto box. | Mac only 5.4 |
SyntaxColoring.ScriptGoToBox.SetEnabled Enables or disables script go to box. | Mac only 5.4 |
SyntaxColoring.ScriptIfLoopHighlight.GetEnabled Queries enabled status for if/loop blocks highlighting. | Mac only 6.5 |
SyntaxColoring.ScriptIfLoopHighlight.SetEnabled Sets whether to highlight if/loop blocks in script editor. | Mac only 6.5 |
SyntaxColoring.ScriptSearchBox.GetEnabled Queries whether script editor shows a search box. | Mac only 5.4 |
SyntaxColoring.ScriptSearchBox.GetText Queries current search text. | Mac only 7.5 |
SyntaxColoring.ScriptSearchBox.SetEnabled Enables or disables script search box. | Mac only 5.4 |
SyntaxColoring.ScriptSearchBox.SetText Sets the search text and runs a search in current script. | Mac only 7.5 |
SyntaxColoring.SetAddFindbars Sets whether the plugin adds find bars. | Mac only 8.0 |
SyntaxColoring.SetBlackFieldPicker Set whether field picker should be black. | Mac only 7.4 |
SyntaxColoring.SetFontName Sets the font name. | Mac only 10.1 |
SyntaxColoring.SetFontSize Sets current font size for script workspace. | Mac only 10.1 |
SyntaxColoring.SetFormulasWithLinks Sets whether formulas should include links. | Mac only 10.0 |
SyntaxColoring.SetMinCalcFontSize Sets the minimum text size to apply for calculations. | Mac only 7.2 |
SyntaxColoring.SetRelationGraphSearchBoxPreferredSize Sets the preferred size for the relation graph. | Mac only 6.3 |
SyntaxColoring.SetRememberColumnWidths Whether to remember column widths. | Mac only 8.5 |
SyntaxColoring.SetResizeFieldPicker Set whether field picker should be resizable. | Mac only 7.4 |
SyntaxColoring.SetScriptHighlightColor Sets the highlight color. | Mac only 5.4 |
SyntaxColoring.SetScriptIfColor Sets the highlight color for if block in a script. | Mac only 6.1 |
SyntaxColoring.SetScriptLoopColor Sets the highlight color for if block in a script. | Mac only 6.1 |
SyntaxColoring.SetScriptSearchColor Sets the search color. | Mac only 6.1 |
SyntaxColoring.SetShowFieldAndTableIDs Set whether to show field and table IDs. | Mac only 7.4 |
SyntaxColoring.SetShowLayoutIDs Sets whether layout IDs are enabled. | Mac only 7.5 |
SyntaxColoring.SetShowScriptIDs Set whether to show script IDs. | Mac only 7.4 |
SyntaxColoring.SetUseBoldFont Sets whether to use bold fonts. | Mac only 6.1 |
SyntaxColoring.ShowBracketPositions.GetEnabled Queries whether plugin highlights brackets. | Mac only 10.5 |
SyntaxColoring.ShowBracketPositions.SetEnabled Sets whether plugin highlights brackets. | Mac only 10.5 |
SyntaxColoring.ShowTextPositions.GetEnabled Queries whether text positions are enabled. | Mac only 9.5 |
SyntaxColoring.ShowTextPositions.SetEnabled Sets whether to show text positions. | Mac only 9.5 |
SyntaxColoring.ZoomButton.GetEnabled Queries whether zoom controls are enabled. | Mac only 7.2 |
SyntaxColoring.ZoomButton.SetEnabled Sets enabled state for zoom controls. | Mac only 7.2 |
83 functions.
Release notes
- Version 10.5
- Added SyntaxColoring.ShowBracketPositions.GetEnabled and SyntaxColoring.ShowBracketPositions.SetEnabled functions.
- Fixed SyntaxColoring.GetScriptHighlightColor to return empty result if no color was set.
- Version 10.4
- Added SyntaxColoring.HelpMenu.SetEnabled and SyntaxColoring.HelpMenu.GetEnabled functions.
- Version 10.3
- Tuned the syntax coloring rules for dark mode. You may need to use SyntaxColoring.FactoryDefaults to reset settings for dark mode.
- Version 10.1
- Added SyntaxColoring.GetFontName and SyntaxColoring.SetFontName functions.
- Added SyntaxColoring.GetFontSize and SyntaxColoring.SetFontSize functions.
- Version 10.0
- Added keyEquivalent and KeyEquivalentModifierMask parameters to SyntaxColoring.AddContextMenuCommand function.
- Added option for SyntaxColoring.AddContextMenuCommand to create separator items.
- Added option to SyntaxColoring.AddContextMenuCommand to mark whether a command can work with discontinuous selections.
- Added SyntaxColoring.GetFormulasWithLinks and SyntaxColoring.SetFormulasWithLinks functions.
- Added SyntaxColoring.ListContextMenuCommand function.
- Changed SyntaxColoring.RemoveContextMenuCommand to do case-insensitive comparison.
- Fixed problem with SyntaxColoring.Format function.
- Version 9.5
- Added SyntaxColoring.AddContextMenuCommand, SyntaxColoring.ClearContextMenuCommands and SyntaxColoring.RemoveContextMenuCommand functions.
- Added new tag "global variable color" for SyntaxColoring.AddTag function to give global variables a different color.
- Added new tag "smaller bigger sign color" for SyntaxColoring.AddTag function to give <> in formula a different color.
- Added SyntaxColoring.ShowTextPositions.GetEnabled and SyntaxColoring.ShowTextPositions.SetEnabled functions.
- Version 8.5
- Added SyntaxColoring.GetRememberColumnWidths and SyntaxColoring.SetRememberColumnWidths functions.
- Version 8.3
- Version 8.0
- Added SyntaxColoring.GetAddFindbars and SyntaxColoring.SetAddFindbars function.
- Version 7.5
- Version 7.4
- Added SyntaxColoring.GetBlackFieldPicker, SyntaxColoring.GetResizeFieldPicker, SyntaxColoring.GetShowFieldAndTableIDs, SyntaxColoring.GetShowScriptIDs, SyntaxColoring.SetBlackFieldPicker, SyntaxColoring.SetResizeFieldPicker, SyntaxColoring.SetShowFieldAndTableIDs and SyntaxColoring.SetShowScriptIDs.
- Version 7.2
- Added SyntaxColoring.GetMinCalcFontSize and SyntaxColoring.SetMinCalcFontSize to define minimum font size for calculation dialog.
Blog Entries
- Dark Mode in FileMaker
- Neues MBS FileMaker Plugin 10.1 - Über 6100 Funktionen in einem Plugin
- MBS FileMaker Plugin 10.1 - More than 6100 Functions In One Plugin
- Layout IDs in FileMaker with MBS Plugin
- Goodies video from FMValencia conference
- MBS FileMaker Plugin 3.0 for OS X/Windows - More than 1300 Functions In One Plugin
Example Databases
- Mac only/Script Workspace Context Menu Commands
- Mac only/SyntaxColoring for Mac
- Utility functions/Evaluate
Feedback: Report problem or ask question.

Links
MBS Xojo PDF Plugins