zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.45k stars 3.02k forks source link

click on inlay hint positions cursor wrong #10975

Open JustFrederik opened 6 months ago

JustFrederik commented 6 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

clicking on the inlay hint will position the cursor before the bracket.

Environment

Zed: v0.133.1 (Zed Preview) OS: macOS 14.0.0 Memory: 16 GiB Architecture: aarch64

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

Screenshot 2024-04-25 at 11 46 39

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

JustFrederik commented 6 months ago

When highlighting the bracket is only highlighted when the cursor is at the end of the hint

github-actions[bot] commented 1 week ago

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!