linebender / parley

Rich text layout library
Apache License 2.0
228 stars 28 forks source link

WIP: Import selection and editing code from Masonry #88

Closed nicoburns closed 3 weeks ago

nicoburns commented 4 months ago

This is a little earlier than planned as masonry's dependency on vello was making this awkward to use from masonry (when I am not necessary depending on the same version of vello).

Changes made

Todo

nicoburns commented 2 months ago

I've rebased this on main to simplify the diff now that #76 has been merged. I am no longer anticipating this being merged in it's current state, but I'd like to leave it open for now as it contains useful changes that remove dependencies that I think we will want to port to Masonry's version of this code (CC: @PoignardAzur)

This Zulip thread contains my new proposal for making the changes contained in this PR: https://xi.zulipchat.com/#narrow/stream/205635-text/topic/Sharing.20selection.2Fediting.20code.20between.20Blitz.20and.20Masonry