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

SyntaxColoring.FactoryDefaults

Resets all rules to the default settings.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 3.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.FactoryDefaults" )

Parameters

none

Result

Returns OK on success.

Description

Resets all rules to the default settings.
This only applies the color rules. You may still need to enable other features like copy button.

You may want to customize rules with SyntaxColoring.Add function.
For dark/light mode only resets current set.

Examples

Resets syntax coloring to defaults:

MBS( "SyntaxColoring.FactoryDefaults" )

See also

Release notes

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 31st August 2020


SyntaxColoring.Enabled - SyntaxColoring.Format