# multi_buffer: Fix \`ExcerptId::max\(\)\` handling in \`summaries_for_anchors\` \(\#39436\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3ab5103de1fcc56472f033cc209049aa981bb583

Requested commit: 3ab5103de1fcc56472f033cc209049aa981bb583

Commit: 3ab5103de1fcc56472f033cc209049aa981bb583

Tree: 26ca9b7ced9dca95c1b7f28c5d45d66381aa58c7

Author: Lukas Wirth

Committer: GitHub

## Message

```
multi_buffer: Fix `ExcerptId::max()` handling in `summaries_for_anchors` (#39436)

Closes https://github.com/zed-industries/zed/issues/39333

Release Notes:

- Fixed IME inputs breaking when typing at the end of an editor

Co-authored-by: Smit Barmase <smit@zed.dev>
```

## Parents

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

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