zed icon indicating copy to clipboard operation
zed copied to clipboard

Text selection in diagnostics popovers doesn't snap to word boundaries

Open injust opened this issue 2 weeks ago • 0 comments

Summary

Description

Double-clicking text in a diagnostics popover selects the entire word. If you double-click-and-drag, the text selection should snap to word boundaries.

Steps to reproduce:

  1. Write some code that produces an inline diagnostic error/warning
  2. Hover the mouse cursor over the line to show the popover
  3. Move the mouse cursor over the popover
  4. Double-click a word and move the mouse cursor to the next word

Expected Behavior: When you move the mouse cursor, the text selection snaps to word boundaries Actual Behavior: When you move the mouse cursor, it acts like a normal click-and-drag instead of a double-click-and-drag

Zed Version and System Specs

Zed: v0.213.3 (Zed) OS: macOS 15.7.2 Memory: 16 GiB Architecture: x86_64

injust avatar Nov 23 '25 11:11 injust