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
The monaco editor documentation should also document the available editor commands such as:
editor.unfold - Unfold the content in the editor
Unfold editor argument - Property-value pairs that can be passed through this argument:
'levels': Number of levels to unfold. If not set, defaults to 1.
'direction': If 'up', unfold given number of levels up otherwise unfolds down.
'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not
set, the active selection(s) will be used.
editor.fold - Fold the content in the editor
Fold editor argument - Property-value pairs that can be passed through this argument:
'levels': Number of levels to fold.
'direction': If 'up', folds given number of levels up otherwise folds down.
'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.
If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.
The monaco editor documentation should also document the available editor commands such as:
editor.unfold
- Unfold the content in the editorset, the active selection(s) will be used.
editor.fold
- Fold the content in the editorIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.
Originally posted by @aeschli in #4024 (comment)
The text was updated successfully, but these errors were encountered: