Fix bugs in autoscroll with 'fit' strategy

* Scroll to the newest cursor if all cursors can't fit in the viewport.
* Refuse to layout an editor less tall than one line height.

Co-authored-by: Nathan <nathan@zed.dev>
a3b2c03b17Max Brunsfeld committed on 8/25/2023, 11:13:12 PMparentf798be6
3 files changedLine totals unavailable