Given an index for current character, how can I determine the number of line that the selected character is at?
Given a CTLine how can I determine the number of characters in it?
Objective C - Core Text, number of characters in a line?
551 views Asked by aryaxt At
1
For the first one:
For the second one:
Can't be sure these work as I haven't tested them but it's worth a go.