SyntaxColoring.LineNumbers.Disable
----------------------------------

Disables line numbers in FileMaker Scripts.

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

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "SyntaxColoring.LineNumbers.Disable" ) ### Parameters

none

### Result

Returns OK on success.

### Description

Disables line numbers in FileMaker Scripts.  
Settings are saved in preferences files and you can use different settings in different FileMaker versions.  
Works with FileMaker 11 or newer.  
Line numbers can only be enabled in FileMaker Pro, not in server or runtime versions.  
This setting can be set via the preferences dialog, too.  
### Examples

Enable or disable Line Numbers:

 If (Enable)  
 Set Variable \[$r ; MBS ( "[SyntaxColoring.LineNumbers.Enable](SyntaxColoringLineNumbersEnable.md)" )\]  
else  
 Set Variable \[$r ; MBS ( "SyntaxColoring.LineNumbers.Disable" )\]  
end if  
### See also

- [SyntaxColoring.LineNumbers.Enable](SyntaxColoringLineNumbersEnable.md)
- [SyntaxColoring.LineNumbers.Enabled](SyntaxColoringLineNumbersEnabled.md)
- [SyntaxColoring.LineNumbers.GetColor](SyntaxColoringLineNumbersGetColor.md)
- [SyntaxColoring.LineNumbers.SetColor](SyntaxColoringLineNumbersSetColor.md)

### Release notes

- **Version 13.0**
    - Deprecated [SyntaxColoring.LineNumbers.Disable](https://www.mbsplugins.eu/SyntaxColoringLineNumbersDisable.shtml), [SyntaxColoring.LineNumbers.Enable](https://www.mbsplugins.eu/SyntaxColoringLineNumbersEnable.shtml), [SyntaxColoring.LineNumbers.Enabled](https://www.mbsplugins.eu/SyntaxColoringLineNumbersEnabled.shtml), [SyntaxColoring.LineNumbers.GetColor](https://www.mbsplugins.eu/SyntaxColoringLineNumbersGetColor.shtml) and [SyntaxColoring.LineNumbers.SetColor](https://www.mbsplugins.eu/SyntaxColoringLineNumbersSetColor.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.0pr6](https://www.mbsplugins.de/archive/2023-01-09/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 7th January 2023

  
[SyntaxColoring.HelpMenu.SetEnabled](SyntaxColoringHelpMenuSetEnabled.md) - [SyntaxColoring.LineNumbers.Enable](SyntaxColoringLineNumbersEnable.md)

[HTML Version](SyntaxColoringLineNumbersDisable.shtml)