zed
zed copied to clipboard
Text selection in diagnostics popovers doesn't snap to word boundaries
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:
- Write some code that produces an inline diagnostic error/warning
- Hover the mouse cursor over the line to show the popover
- Move the mouse cursor over the popover
- 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