You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use-case where I need to hide the code fold message. Passing undefined to codeFoldRenderer simply falls back to the default behavior. It's possible to pass an override function, but this feels like a bit of a hack. Would a PR be accepted to support a displayCodeFoldMessage property that would optionally allow users to disable the code fold message? The default value would be true to support backwards-compatibility.
Thanks for all the work on this component!
The text was updated successfully, but these errors were encountered:
Hey @todd, did you try using codeFoldMessageRenderer and return an empty string?. I don't think displayCodeFoldMessage will be needed as there is a way to customize the same. If you don't want code folding, set showDiffOnly to false. Let me know your thoughts.
I actually managed to do what I needed by using those properties - didn't seem to take immediately in my application, but it eventually sorted itself out. Sorry for the noise.
Hi there,
I have a use-case where I need to hide the code fold message. Passing
undefined
tocodeFoldRenderer
simply falls back to the default behavior. It's possible to pass an override function, but this feels like a bit of a hack. Would a PR be accepted to support adisplayCodeFoldMessage
property that would optionally allow users to disable the code fold message? The default value would betrue
to support backwards-compatibility.Thanks for all the work on this component!
The text was updated successfully, but these errors were encountered: