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

SyntaxColoring.LineNumbers.Enable

Enables line numbers in FileMaker Scripts.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 3.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No

Deprecated

This function was deprecated.

MBS( "SyntaxColoring.LineNumbers.Enable" )

Parameters

none

Result

Returns OK on success.

Description

Enables line numbers in FileMaker Scripts.
Settings are saved in preferences files and you can use different settings in different FileMaker versions.
Works with FileMaker 11 or newer.
Line numbers can only be enabled in FileMaker Pro, not in server or runtime versions.
This setting can be set via the preferences dialog, too.

Examples

Enable or disable line numbers:

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

Enable all the plugin enhancements for FileMaker:

MBS("SyntaxColoring.CopyButton.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptSearchBox.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 1)
MBS("SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; 1)
MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )
MBS( "SyntaxColoring.LineNumbers.Enable" )
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )

See also

Release notes

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 7th January 2023


SyntaxColoring.LineNumbers.Disable - SyntaxColoring.LineNumbers.Enabled