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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

  • Version 11.1
  • Version 11.0
  • Version 10.3

Blog Entries

This function is free to use.

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


SyntaxColoring.Enabled - SyntaxColoring.Format

💬 Ask a question or report a problem