Closed alanz closed 3 years ago
And it seems that what I am looking for is
codeUnitsRowColumn :: Int -> Rope ->RowColumn
codeUnitsRowColumn offset rope = rowColumn . measure . fst $ splitAt offset rope
Sounds good. Wanna create a PR with that?
We have
Can we have the inverse
It looks like it should be some combination of
splitAt
andmeasure