Method
FoundryCodeFoldProviderlist_folds
unstable since: 1.3
Declaration [src]
DexFuture*
foundry_code_fold_provider_list_folds (
FoundryCodeFoldProvider* self,
FoundryTextDocument* document,
GBytes* contents
)
Parameters
document-
Type:
FoundryTextDocumentThe document to fold.
The data is owned by the caller of the method. contents-
Type:
GBytesCaptured UTF-8 contents of the document.
The data is owned by the caller of the method.
Return value
Type: DexFuture
A future resolving to a GListModel of FoundryCodeFold.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |