Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


SyntaxColoring.SetShowScriptIDs - SyntaxColoring.ShowBracketPositions.GetEnabled

Feedback: Report problem or ask question.