Skip to content

Funky newline below behavior in folding views #47965

@adsick

Description

@adsick

Reproduction steps

  1. Open global search or other folding view with multiple file results
  2. Place your cursor at the last line of the first fold
  3. Ctrl-Enter for newline below
  4. Newline gets created in the next fold, not in one you are currently

Current vs. Expected behavior

Current behavior: newline is in the next fold
Expected: newline in the current fold

Zed version and system specs

Zed: v0.221.4+stable.137.128478628237a6d03a6890c810d21b55d3250a70 (Zed)
OS: Linux Wayland fedora 43
Memory: 31 GiB
Architecture: x86_64
GPU: AMD Radeon RX 9070 (RADV GFX1201) || radv || Mesa 25.2.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:multi-bufferFeedback for multi buffersfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedmeta:easy repro stepsSteps to reproduce are easypriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No fields configured for Bug.

    Projects

    Status

    Bug Bashers

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions