linebender / parley

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

Add `LineMetrics::offset` in cursor geometry #169

Closed mwcampbell closed 1 week ago

mwcampbell commented 1 week ago

This ensures the correct cursor position is calculated for lines that aren't left-aligned.