# editor: Fix forward word movement over inline folds in agent panel \(\#53979\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 49d3570a99b1a5fc5c563ca671abbb2a4fd9caa7

Requested commit: 49d3570a99b1a5fc5c563ca671abbb2a4fd9caa7

Commit: 49d3570a99b1a5fc5c563ca671abbb2a4fd9caa7

Tree: 0a553b39e96e36c7e22e3323bd91947846abfa52

Author: Neel

Committer: GitHub

## Message

```
editor: Fix forward word movement over inline folds in agent panel (#53979)

Changed the offset-to-display-point conversion in `find_boundary_point`
and `find_boundary_trail` to use `Bias::Right`, so positions inside
folds map to the fold end, letting the cursor skip past folded ranges.

Closes #53978.

Release Notes:

- Fixed Ctrl+Right and related word movement shortcuts failing to skip
over folded ranges and `@mention` chips
```

## Parents

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

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