Type Editor / @type-editor/commands / join-forward
join-forward
Variables
| Variable | Description |
|---|---|
Joins or merges the current block with the one after it when the cursor is at the end of a textblock. This command implements comprehensive forward-joining behavior with multiple fallback strategies:
The command uses the view (if provided) for accurate bidirectional text detection to determine if the cursor is truly at the end of the block. This is the forward counterpart to Param The current editor state Param Optional dispatch function to execute the transaction Param Optional editor view for accurate cursor position detection Example typescript |