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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

SyntaxColoring.CommentLinks.SetEnabled

Sets whether comment links are enabled.

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

Parameters

Parameter Description Example
Value The new setting.
Pass 1 to enable or 0 to disable.
1

Result

Returns OK or error.

Description

Sets whether comment links are enabled.
If enabled, the plugin will scan comments in script lines for URLs and add a little arrow with earth icon on the right. Once clicked, the URL is opened in the default browser.

Works for http://, https://, mailto: and fmp:// URLs. Text before/after is ignored if there is at least a space between.

See also

Release notes

  • Version 12.3
    • Added SyntaxColoring.CommentLinks.GetEnabled and SyntaxColoring.CommentLinks.SetEnabled functions.

Created 3th June 2022, last changed 4th June 2022


SyntaxColoring.CommentLinks.GetEnabled - SyntaxColoring.ContextualMenuEnabled.GetEnabled

Feedback: Report problem or ask question.


Start Chat