SyntaxColoring.ShowTextPositions.SetEnabled
-------------------------------------------

Sets whether to show text positions.

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

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

**MBS**( **"SyntaxColoring.ShowTextPositions.SetEnabled";** /\* Sets whether to show text positions. \*/  
**$Value**) /\* The new value.  
Pass 1 to enable or 0 to disable. \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Sets whether to show text positions.  
The MBS Plugin can show text position and selection length for calculation dialog or custom functions dialog.  
Can be enabled/disabled in preferences dialog, too.  
  
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.ShowBracketPositions.SetEnabled](SyntaxColoringShowBracketPositionsSetEnabled.md)
- [SyntaxColoring.ShowTextPositions.GetEnabled](SyntaxColoringShowTextPositionsGetEnabled.md)

### Release notes

- **Version 9.5**
    - Added [SyntaxColoring.ShowTextPositions.GetEnabled](http://www.mbsplugins.eu/SyntaxColoringShowTextPositionsGetEnabled.shtml) and [SyntaxColoring.ShowTextPositions.SetEnabled](http://www.mbsplugins.eu/SyntaxColoringShowTextPositionsSetEnabled.shtml) functions.

### Blog Entries

- [Goodies 34: Text position and selection in FileMaker](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/34-MBSPluginshowstextpositionandselectioninFileMaker.shtml)
- [MBS FileMaker Plugin, version 9.5pr4](https://www.mbsplugins.de/archive/2019-10-21/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin shows text position and selection in FileMaker](https://www.mbsplugins.de/archive/2019-10-18/MBS_Plugin_shows_text_position/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th October 2019 , last changed 27th December 2019

  
[SyntaxColoring.ShowTextPositions.GetEnabled](SyntaxColoringShowTextPositionsGetEnabled.md) - [SyntaxColoring.SortMenuEntries.GetEnabled](SyntaxColoringSortMenuEntriesGetEnabled.md)

[HTML Version](SyntaxColoringShowTextPositionsSetEnabled.shtml)