---
title: "text.tabs.set: Set Tab Stops — Vector kit command — Kition"
description: "Replaces the tab stops of the selected text's paragraphs with positions, alignments and leaders."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/text.tabs.set"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/text.tabs.set](https://developer.kition.ai/docs/kits/vector/commands/text.tabs.set)

# text.tabs.set

**Set Tab Stops.** Replaces the tab stops of the selected text's paragraphs with positions, alignments and leaders.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes
- Acts on: `ids` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `bounds` | `string` | no | read by the command beside its listed parameters |
| `end` | `integer` | no | 0 to 255 |
| `horizontal` | `number` | no | read by the command beside its listed parameters |
| `id` | `integer` | no | object ID |
| `ids` | `integer[]` | no | object IDs |
| `start` | `integer` | no | 0 to 255 |
| `stops` | `object[]` | no |  |
| `vertical` | `number` | no | read by the command beside its listed parameters |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "text.tabs.set" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `bounds`, `end`, `horizontal`, `id`, `ids`, `start`, `stops`, `vertical`. vector_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "bounds": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "end": {
      "description": "0 to 255",
      "type": "integer"
    },
    "horizontal": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "id": {
      "description": "object ID",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "ids": {
      "description": "object IDs",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Node"
      ]
    },
    "start": {
      "description": "0 to 255",
      "type": "integer"
    },
    "stops": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "align": {
            "enum": [
              "left",
              "center",
              "right",
              "decimal"
            ],
            "type": "string"
          },
          "alignOn": {
            "description": "like .",
            "type": "string"
          },
          "leader": {
            "description": "like . ",
            "type": "string"
          },
          "position": {
            "description": "points",
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "vertical": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
