Skip to content

Conversation

@jgdhs27
Copy link
Contributor

@jgdhs27 jgdhs27 commented Jan 18, 2026

Refactor: extract delete and deletion-related commands (such as change) from the insert function into a new function named deleteSelections

Context:
For #376 I wanted to modify how deletion behaves slightly. It took me a while to understand how deletion actually works in dance (basically, you're pasting an empty string into your selection) and thought that having a separate command would make things more understandable.

Testing:

yarn test

Note that all tests still pass without modifying them.

Refactor: extract delete and deletion-related commands (such as change) from the insert function into a new function named `deleteSelections`

Testing:
```
yarn test
```
@jgdhs27 jgdhs27 marked this pull request as ready for review January 18, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants