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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  


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


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


Returns OK or error.


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. Invalid URLs are ignored, e.g. with non URL component encoded accent characters.

When the URL starts with "fmp://$/?", we insert the current file name as file name before the ?.

See also

Release notes

Blog Entries

This function is free to use.

Created 3th June 2022, last changed 15th September 2022

SyntaxColoring.CommentLinks.GetEnabled - SyntaxColoring.ContextualMenuEnabled.GetEnabled

💬 Ask a question or report a problem