Dear TMS Team,
could you please consider supporting bracket pair colorization in "TTMSFNCMemo"?
In the standard Monaco editor, this feature is available via: json
"bracketPairColorization.enabled": true
If full JSON settings are not yet supported via something like "ApplyEditorSettingJSON", perhaps this could be added as a future enhancement.
Thank you!
Best regards,
Miro Baláž
Hi,
We'll investigate the possibilities.
Thank you for the quick action:
"TMS FNC UI Pack 6.7.0.0 UPDATE" brought the solution in the form of: "Improved : Added Bracket Pair Colorization Option in TTMSFNCMemo"
Feature added in the latest update doesn't work as expected — even with languages like Python. I came across this GitHub issue regarding Monaco Editor: https://github.com/microsoft/monaco-editor/issues/3907
It seems that bracket pair colorization requires calling monaco.languages.setLanguageConfiguration in addition to enabling the feature, otherwise the colored bracket matching won't activate.
Like:
monaco.languages.setLanguageConfiguration("predicates", {
brackets: [["(", ")"]],
});
Could you confirm whether TTMSFNCMemo internally supports this configuration? Thanks in advance!
Hi,
this is not yet supported. We will look into this issue as this should not be mandatory for existing languages.
With kind regards