zed icon indicating copy to clipboard operation
zed copied to clipboard

Scrollbar cutting off last character on line.

Open MordFustang21 opened this issue 1 year ago • 4 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Have a long line that goes beyond width and have to horizontal scroll. Furthermost character is hidden behind scrollbar. In the example below there should be a { image

Environment

Zed: v0.121.0 (Zed Nightly) OS: macOS 14.0.0 Memory: 16 GiB Architecture: aarch64

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

No response

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

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

MordFustang21 avatar Jan 30 '24 18:01 MordFustang21

Further to this, I'd like to see a setting to allow a configurable amount of horizontal overscroll - allow the view to scroll n characters beyond the end of the longest visible line. VS Code's setting for this: image

simoncocking avatar Feb 27 '24 22:02 simoncocking

Can confirm, it causes unnecessary confusion while having a long line of a text. Screenshot 2024-04-05 at 7 57 53

jnovakdev avatar Apr 05 '24 05:04 jnovakdev

Any update to this? Very annoying when it comes to working in files with long line lengths.

SamHep0803 avatar May 01 '24 13:05 SamHep0803

This is pretty critical. When writing a long line, it's hard to determine how the line was "closed".

let(:something) { "a really long string" }

The } gets cut off, so it doesn't give the desired confidence.

CleanShot 2024-05-01 at 23 00 00

Nitemaeric avatar May 01 '24 22:05 Nitemaeric

Should come in Zed 0.136 thanks to @\alygin

SomeoneToIgnore avatar May 12 '24 19:05 SomeoneToIgnore