# Fix \`WrapMap::clip_point\` at the end of a soft-wrapped line · gitcafe/zed

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

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

Visibility: public

Requested revision: ef42d14b8c8e9e357587e1c3013e67694c1bcc1b

Requested commit: ef42d14b8c8e9e357587e1c3013e67694c1bcc1b

Commit: ef42d14b8c8e9e357587e1c3013e67694c1bcc1b

Tree: 638f5586596d7809f457bb71fdbb87d263c9084c

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Fix `WrapMap::clip_point` at the end of a soft-wrapped line

If that's the case and `Bias` is `Left` we clip to the last
character of the soft-wrapped line.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

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

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