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

SyntaxColoring.SetUseBoldFont

Sets whether to use bold fonts.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 6.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.SetUseBoldFont"; Value )   More

Parameters

Parameter Description Example
Value The new setting. Pass 1 to use bold or 0 to keep normal font. 1

Result

Returns OK or error.

Description

Sets whether to use bold fonts.
The MBS Plugin uses bold font for brackets in syntax coloring, so you see it better.
You can disable that as some people have problems with brackets being invisible due to font problems.
This may happen more often on asian character sets like Japanese where OS X uses different fonts.

Examples

Disable bold font:

MBS( "SyntaxColoring.SetUseBoldFont"; 0 )

Enable bold font:

MBS( "SyntaxColoring.SetUseBoldFont"; 1 )

See also

Blog Entries

This function is free to use.

Created 29th January 2016, last changed 30th January 2016


SyntaxColoring.SetShowValueListIDs - SyntaxColoring.ShowBracketPositions.GetEnabled