This commit is contained in:
daboe01
2014-09-15 20:10:24 +02:00
parent 1af7d01d96
commit 49c7e7ce2d
+1 -1
View File
@@ -260,7 +260,7 @@ var CPSystemTypesetterFactory;
_textStorage = [_layoutManager textStorage];
_indexOfCurrentContainer = MAX(0, [[_layoutManager textContainers]
indexOfObject:[_layoutManager textContainerForGlyphAtIndex:glyphIndex effectiveRange:nil withoutAdditionalLayout:YES]
inRange:CPMakeRange(0, [[_layoutManager textContainers] count])]);
inRange:CPMakeRange(0, [[_layoutManager textContainers] count])]);
_currentTextContainer = [[_layoutManager textContainers] objectAtIndex:_indexOfCurrentContainer];
_attributesRange = CPMakeRange(0, 0);
_lineHeight = 0;