# Make boundary-finding methods wrap across newlines · gitcafe/zed

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

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

Visibility: public

Requested revision: ee3e6049a3870108e6562e14186409ea8be3ca94

Requested commit: ee3e6049a3870108e6562e14186409ea8be3ca94

Commit: ee3e6049a3870108e6562e14186409ea8be3ca94

Tree: 7d0ce5f16a8fbe0a0f50dcaab921aca55115aedb

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Make boundary-finding methods wrap across newlines

This requires word and subword methods to explicitly acknowledge that they want to stop at newlines, which I think actually increases clarity. It makes the boundary finding method more general and useful for external callers such as the forthcoming vim crate.

```

## Parents

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

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