ass_move_lines
Move selected ASS subtitle event lines to a new position in the document order by specifying a zero-based target index; returns updated indices and supports snapshot-backed edits.
Instructions
Move the selected lines to another position in the line order.
target_index is the 0-based slot in the remaining lines (the
selection is removed first) where the moved block is inserted; it is clamped
to the list length, so a large value appends. Returns {"doc_id", "moved": [old 0-based indices], "target_index", "selection": [new 0-based indices], "count"}. Snapshot-backed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| selection | Yes | ||
| target_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||