# Add unique lines command \(\#7526\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a0b2614d57c71d5421fd28fc2f694582b170644f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a0b2614d57c71d5421fd28fc2f694582b170644f

Requested commit: a0b2614d57c71d5421fd28fc2f694582b170644f

Commit: a0b2614d57c71d5421fd28fc2f694582b170644f

Tree: 9763e29c8cab89f7bbed217768eac624bb749dad

Author: dalton-oliveira

Committer: GitHub

## Message

```
Add unique lines command (#7526)

Changes `Editor::manipulate_lines` to allow line adding and removal
through callback function.

- Added `editor::UniqueLinesCaseSensitive` and `editor::UniqueLinesCaseInsensitive` commands
([#4831](https://github.com/zed-industries/zed/issues/4831))
```

## Parents

- [89b1e76003c1212c371449bcdd8eddf3d9ead18b](https://git.cafe/gitcafe/zed/commit/89b1e76003c1212c371449bcdd8eddf3d9ead18b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a0b2614d57c71d5421fd28fc2f694582b170644f?format=markdown)
