Method

FoundryCodeFoldProviderlist_folds

unstable since: 1.3

Declaration [src]

DexFuture*
foundry_code_fold_provider_list_folds (
  FoundryCodeFoldProvider* self,
  FoundryTextDocument* document,
  GBytes* contents
)

Description

No description available.

Available since: 1.3

Parameters

document

Type: FoundryTextDocument

The document to fold.

The data is owned by the caller of the method.
contents

Type: GBytes

Captured 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.