SyntaxColoring.Clear
--------------------

Clears all rules.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [3.0](newinversion30.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.Clear" ) ### Parameters

none

### Result

Returns OK on success.

### Description

Clears all rules.  
### Examples

Clears all rules:

 MBS ( "SyntaxColoring.Clear" )  
### See also

- [SyntaxColoring.AddContextMenuCommand](SyntaxColoringAddContextMenuCommand.md)
- [SyntaxColoring.AddTag](SyntaxColoringAddTag.md)
- [SyntaxColoring.Format](SyntaxColoringFormat.md)
- [SyntaxColoring.GetTag](SyntaxColoringGetTag.md)

### Release notes

- **Version 9.5**
    - Added [SyntaxColoring.AddContextMenuCommand](http://www.mbsplugins.eu/SyntaxColoringAddContextMenuCommand.shtml), [SyntaxColoring.ClearContextMenuCommands](http://www.mbsplugins.eu/SyntaxColoringClearContextMenuCommands.shtml) and [SyntaxColoring.RemoveContextMenuCommand](http://www.mbsplugins.eu/SyntaxColoringRemoveContextMenuCommand.shtml) functions.

### Example Databases

- [Mac only/SyntaxColoring for Mac](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/SyntaxColoring%20for%20Mac.shtml#6ScriptAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 3.0pr5](https://www.mbsplugins.de/archive/2012-10-26/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[SyntaxColoring.CheckVariableDeclaration.SetLimits](SyntaxColoringCheckVariableDeclarationSetLimits.md) - [SyntaxColoring.ClearContextMenuCommands](SyntaxColoringClearContextMenuCommands.md)

[HTML Version](SyntaxColoringClear.shtml)