Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the new color to use for line numbers.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 3.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No


This function was deprecated.

MBS( "SyntaxColoring.LineNumbers.SetColor"; Color )   More


Parameter Description Example
Color The color value. Can be one of a few english color names or "#123456" notation like in html. "red"


Returns OK or error.


Sets the new color to use for line numbers.
May not take effect until you close and reopen some windows with line numbers.


use gray color:

MBS( "SyntaxColoring.LineNumbers.SetColor"; "gray" )

See also

Release notes

Blog Entries

This function is free to use.

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

SyntaxColoring.LineNumbers.GetColor - SyntaxColoring.ListContextMenuCommand