> ## Documentation Index
> Fetch the complete documentation index at: https://superdoc-caio-pizzol-docs-ai-core-preset.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Selection operations

> Selection operation reference from the canonical Document API contract.

[Back to full reference](../index)

Read the editor's current selection as a portable, addressable target.

| Operation                                                                                                                                                                         | Member path         | Mutates | Idempotency  | Tracked | Dry run |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ------- | ------------ | ------- | ------- |
| <span style={{ whiteSpace: 'nowrap', wordBreak: 'normal', overflowWrap: 'normal' }}><a href="/document-api/reference/selection/current"><code>selection.current</code></a></span> | `selection.current` | No      | `idempotent` | No      | No      |
