# Add stop_at_indent for Editor::DeleteToBeginningOfLine \(\#25688\) · gitcafe/zed

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

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

Visibility: public

Requested revision: aa1ab50656686c3286dcbe6c795ed0d0043dd9fd

Requested commit: aa1ab50656686c3286dcbe6c795ed0d0043dd9fd

Commit: aa1ab50656686c3286dcbe6c795ed0d0043dd9fd

Tree: de1cc52216bb150ded30f77c51920d707f9b223d

Author: Peter Tripp

Committer: GitHub

## Message

```
Add stop_at_indent for Editor::DeleteToBeginningOfLine (#25688)

Added test_beginning_of_line_stop_at_indent editor test

- Follow-up to: https://github.com/zed-industries/zed/pull/25428
- Replaces: https://github.com/zed-industries/zed/pull/25346

This is all authored by @felixpackard in #25346
I just updated it to use `stop_at_indent` instead of
`stop_at_first_char`.

Release Notes:

- Added support for `stop_at_indent` to
`Editor::DeleteToBeginningOfLine` (thanks
[@felixpackard](https://github.com/felixpackard))

Co-authored-by: Felix Packard <felix@rigr.gg>
```

## Parents

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

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