Vector kit command
format.decreaseFontSize
Decrease Font Size
Decreases the selected text's font size by a number of preference steps.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- yes
- Acts on
ids(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
attribute | string | no | read by the command beside its listed parameters |
by | integer | no | |
end | integer | no | 0 to 255 |
ids | integer[] | no | object IDs |
start | integer | no | 0 to 255 |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "format.decreaseFontSize" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: attribute, by, end, ids, start. 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": {
"attribute": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"by": {
"type": "integer"
},
"end": {
"description": "0 to 255",
"type": "integer"
},
"ids": {
"description": "object IDs",
"items": {
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Node"
]
},
"start": {
"description": "0 to 255",
"type": "integer"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.