BCTextView
BCTextView copied to clipboard
another bug found
if you are looking word by word by its size and the word is the last one you can calculate the las space as iOS doesn't do it too.
so replace the code: if (size.width > self.currentLine.widthRemaining) { by: if (size.width - 6 > self.currentLine.widthRemaining) {
at:
- (void)pushText:(NSString *)text withFont:(UIFont *)font link:(NSValue *)link
in: BCTextFrame.m