# Fix extraction of font runs from text runs \(\#40840\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e468edd3893c11597bda6d7ebba8f1204e8c074f

Requested commit: e468edd3893c11597bda6d7ebba8f1204e8c074f

Commit: e468edd3893c11597bda6d7ebba8f1204e8c074f

Tree: f812f0439e5a53e9781c9f87afa35972af6d308d

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix extraction of font runs from text runs (#40840)

Fixes a bug in https://github.com/zed-industries/zed/pull/39928

The bug caused all completions to appear in bold-face

Release Notes:

- Fixed a bug where bold-face font was applied to the wrong characters
in items in the autocomplete menu

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
```

## Parents

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

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