SyntaxColoring.ShowBracketPositions.SetEnabled
----------------------------------------------

Sets whether plugin highlights brackets.

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

MBS( "SyntaxColoring.ShowBracketPositions.SetEnabled"; Value ) 

**MBS**( **"SyntaxColoring.ShowBracketPositions.SetEnabled";** /\* Sets whether plugin highlights brackets. \*/  
**$Value**) /\* The new setting.  
Pass 1 to enable or 0 to disable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 1 to enable or 0 to disable. | 1 |

### Result

Returns OK or error.

### Description

Sets whether plugin highlights brackets.  
MBS Plugin can watch you typing text and show the text positions. Optionally we can then highlight matching brackets when selecting those. This includes (), \[\], {} and even check them within strings to help with SQL statements.  
  
Text positions are only enabled by the plugin if the advanced tools in FileMaker preferences are enabled, so they don't show up for ordinary people just installing FileMaker Pro.  
### See also

- [SyntaxColoring.ShowBracketPositions.GetEnabled](SyntaxColoringShowBracketPositionsGetEnabled.md)
- [SyntaxColoring.ShowTextPositions.GetEnabled](SyntaxColoringShowTextPositionsGetEnabled.md)
- [SyntaxColoring.ShowTextPositions.SetEnabled](SyntaxColoringShowTextPositionsSetEnabled.md)

### Release notes

- **Version 10.5**
    - Added [SyntaxColoring.ShowBracketPositions.GetEnabled](https://www.mbsplugins.eu/SyntaxColoringShowBracketPositionsGetEnabled.shtml) and [SyntaxColoring.ShowBracketPositions.SetEnabled](https://www.mbsplugins.eu/SyntaxColoringShowBracketPositionsSetEnabled.shtml) functions.

### Blog Entries

- [Goodies 40: Brackets Highlighting](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/40-BracketsHighlighting.shtml)
- [Goodies 2: Calculation Coloring](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/02-CalculationColoring.shtml)
- [New in MBS FileMaker Plugin 10.5](https://www.mbsplugins.de/archive/2020-11-23/New_in_MBS_FileMaker_Plugin_10/monkeybreadsoftware_blog_filemaker)
- [Brackets Highlighting](https://www.mbsplugins.de/archive/2020-11-19/Brackets_Highlighting/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.5pr8](https://www.mbsplugins.de/archive/2020-11-09/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 3th November 2020 , last changed 11st November 2020

  
[SyntaxColoring.ShowBracketPositions.GetEnabled](SyntaxColoringShowBracketPositionsGetEnabled.md) - [SyntaxColoring.ShowTextPositions.GetEnabled](SyntaxColoringShowTextPositionsGetEnabled.md)

[HTML Version](SyntaxColoringShowBracketPositionsSetEnabled.shtml)