Skip to content

Conversation

@maxbrunsfeld
Copy link
Collaborator

Fixes a bug in #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>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 22, 2025
@mikayla-maki mikayla-maki enabled auto-merge (squash) October 22, 2025 01:04
@mikayla-maki mikayla-maki merged commit e468edd into main Oct 22, 2025
38 of 42 checks passed
@mikayla-maki mikayla-maki deleted the font-run-fix branch October 22, 2025 01:55
mikayla-maki added a commit that referenced this pull request Oct 22, 2025
Fixes a bug in #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>
cyndis added a commit to cyndis/zed that referenced this pull request Nov 27, 2025
After zed-industries#39928, if a font's weight changes between text runs without
other decoration changing, the earlier weight continues to be used
for the subsequent run(s).

PR zed-industries#40840 fixes this in shape_text, but similar code exists also in
layout_text. The latter is used for text in the editor view itself,
so the issue continues to appear when using a highlighting theme
with varied font weights.

Fix the issue by applying the same fix in layout_text.
Veykril pushed a commit that referenced this pull request Dec 1, 2025
After #39928, if a font's weight changes between text runs without other
decoration changing, the earlier weight continues to be used for the
subsequent run(s).

PR #40840 fixes this in shape_text, but similar code exists also in
layout_text. The latter is used for text in the editor view itself, so
the issue continues to appear when using a highlighting theme with
varied font weights.

Fix the issue by applying the same fix in layout_text.

Closes #42297

Release Notes:

- Fixed incorrect font weights in editor view when using a highlighting
theme with varying font weights
github-actions bot pushed a commit that referenced this pull request Dec 5, 2025
After #39928, if a font's weight changes between text runs without other
decoration changing, the earlier weight continues to be used for the
subsequent run(s).

PR #40840 fixes this in shape_text, but similar code exists also in
layout_text. The latter is used for text in the editor view itself, so
the issue continues to appear when using a highlighting theme with
varied font weights.

Fix the issue by applying the same fix in layout_text.

Closes #42297

Release Notes:

- Fixed incorrect font weights in editor view when using a highlighting
theme with varying font weights
zed-zippy bot added a commit that referenced this pull request Dec 5, 2025
…erry-pick to stable) (#44197)

Cherry-pick of #43856 to stable

----
After #39928, if a font's weight changes between text runs without other
decoration changing, the earlier weight continues to be used for the
subsequent run(s).

PR #40840 fixes this in shape_text, but similar code exists also in
layout_text. The latter is used for text in the editor view itself, so
the issue continues to appear when using a highlighting theme with
varied font weights.

Fix the issue by applying the same fix in layout_text.

Closes #42297

Release Notes:

- Fixed incorrect font weights in editor view when using a highlighting
theme with varying font weights

Co-authored-by: Mikko Perttunen <cyndis@kapsi.fi>
someone13574 pushed a commit to someone13574/zed that referenced this pull request Dec 16, 2025
…ies#43856)

After zed-industries#39928, if a font's weight changes between text runs without other
decoration changing, the earlier weight continues to be used for the
subsequent run(s).

PR zed-industries#40840 fixes this in shape_text, but similar code exists also in
layout_text. The latter is used for text in the editor view itself, so
the issue continues to appear when using a highlighting theme with
varied font weights.

Fix the issue by applying the same fix in layout_text.

Closes zed-industries#42297

Release Notes:

- Fixed incorrect font weights in editor view when using a highlighting
theme with varying font weights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

3 participants