Skip to content

Code snippets shown in non-editor panes should follow the font size / line height etc settings for the editor #17150

@lougreenwood

Description

@lougreenwood

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I just discovered that I can have the outline panel open and see each line of search result listed in the outline (via #4925 (comment) & the 0.151.0 preview release notes).

I have UI fonts displaying as larger than the editor fonts, this means that when the outline shows the line of code representing a search result then the UI looks wrong and I see massive lines of code. It breaks my brain since "big text != code"!

Environment

Zed: v0.151.0 (Zed Preview)
OS: macOS 14.6.1
Memory: 32 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Screenshot 2024-08-30 at 11 32 47

If applicable, attach your Zed.log file to this issue.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:accessibilityImprovement related to color contrast, screen reader support, keyboard navigation, etcarea:outlineFeedback for outline view, symbols, etcarea:ui/fontFont feedback for readability, size, style, etcbugDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions